blakeblackshear.frigate/migrations
Nicolas Mowen b1cc64d4fa
FEAT: Ability to set sub labels for specific events (#2949)
* Add sub label to model and set / delete funs

* Add migrations for sub label

* Tweaks to API and model

* Show sublabel if available

* Cleanups

* Update docs

* Show person in UI title

* Fix typo and don't fail on no json

* Transfer sub labels for in progress events

* Remove sublabel reset

* Remove person only check

* Make default null

* Update docs and formatting

* Make default null

* Make nullable in migration

* Undo null

* Update model to accept null

* Update migration to accept null

* Don't set to default values

* Remove redundant defaults and update http logic

* Only need a single route

* Enforce 20 character limit in http

* Update docs to mention 20 character limit

* Cleanup

* Separate insert and update to make sure updated values are retained when event ends

* Use insert instead of replace

* Remove redundant if and have should_update_db include clip or snapshot requirement.
2022-03-17 07:18:43 -05:00
..
001_create_events_table.py formatting cleanup 2021-02-25 07:01:57 -06:00
002_add_clip_snapshot.py formatting cleanup 2021-02-25 07:01:57 -06:00
003_create_recordings_table.py fix migrations 2022-02-18 21:18:26 -06:00
004_add_bbox_region_area.py add region/bbox/area to event table 2021-09-23 07:31:48 -05:00
005_make_end_time_nullable.py only save recordings when an event is in progress 2022-02-18 21:18:26 -06:00
006_add_motion_active_objects.py store objects and motion counts in the db 2022-02-18 21:18:26 -06:00
007_add_retain_indefinitely.py Ability to retain specific clips / events indefinitely (#2831) 2022-02-21 22:03:01 -06:00
008_add_sub_label.py FEAT: Ability to set sub labels for specific events (#2949) 2022-03-17 07:18:43 -05:00