Add region count to database and use for motion activity (#10480)

* Add region count to database and use for motion activity

* Fix test
This commit is contained in:
Nicolas Mowen
2024-03-15 09:29:22 -06:00
committed by GitHub
parent c93b186eda
commit 93260f6cfd
6 changed files with 75 additions and 10 deletions

View File

@@ -74,6 +74,7 @@ class Recordings(Model): # type: ignore[misc]
objects = IntegerField(null=True)
dBFS = IntegerField(null=True)
segment_size = FloatField(default=0) # this should be stored as MB
regions = IntegerField(null=True)
class ReviewSegment(Model): # type: ignore[misc]