Nick
fd6db32b38
Fix migration
...
- Ensure that defaults match between Event and migration script
- Deconflict migration script number (from rebase)
Issue: #2948
2022-03-12 14:11:55 -05:00
Nick
2ad0ed9b8d
Fix logical errors
...
- field migrations require default values
- `clipped` referenced the wrong index for region, since it shifted
- missed an inclusion of `ratio` for detections in `process_frames`
- revert naming `o[2]` as `box` since it is out of scope!
This has now been test-run against a video, so I believe the kinks are
worked out.
Issue: #2948
2022-03-12 09:37:17 -05:00
Nick
3bb3aecf97
Address review comments
...
- Accept `ratio` default
- Rename `bounds` to `box` for consistency
- Add migration for new field
Issue: #2948
2022-03-12 09:37:09 -05:00
Nicolas Mowen
4004048add
Ability to retain specific clips / events indefinitely ( #2831 )
2022-02-21 22:03:01 -06:00
Blake Blackshear
7c74bf2566
fix migrations
2022-02-18 21:18:26 -06:00
Blake Blackshear
188b202836
store objects and motion counts in the db
2022-02-18 21:18:26 -06:00
Blake Blackshear
2f2329ba44
only save recordings when an event is in progress
2022-02-18 21:18:26 -06:00
Blake Blackshear
1d25936f31
add region/bbox/area to event table
2021-09-23 07:31:48 -05:00
Jason Hunter
f7975cbbc4
remove backfill - only store rows moving forward
2021-06-10 07:04:28 -05:00
Jason Hunter
055bd22138
initial implementation of recordings table
2021-06-10 07:04:28 -05:00
Blake Blackshear
39ff49e054
formatting cleanup
2021-02-25 07:01:57 -06:00
Blake Blackshear
c770470b58
add database migrations
2021-01-26 21:40:33 -06:00