frigate/migrations
Nicolas Mowen cb30450060
Migrate pydantic to V2 (#10142)
* Run pydantic migration tool

* Finish removing deprecated functions

* Formatting

* Fix movement weights type

* Fix movement weight test

* Fix config checks

* formatting

* fix typing

* formatting

* Fix

* Fix serialization issues

* Formatting

* fix model namespace warnings

* Update formatting

* Format go2rtc file

* Cleanup migrations

* Fix warnings

* Don't include null values in config json

* Formatting

* Fix test

---------

Co-authored-by: Josh Hawkins <32435876+hawkeye217@users.noreply.github.com>
2024-02-29 16:10:13 -07:00
..
001_create_events_table.py Add isort and ruff linter (#6575) 2023-05-29 05:31:17 -05:00
002_add_clip_snapshot.py Add isort and ruff linter (#6575) 2023-05-29 05:31:17 -05:00
003_create_recordings_table.py Migrate pydantic to V2 (#10142) 2024-02-29 16:10:13 -07:00
004_add_bbox_region_area.py Add isort and ruff linter (#6575) 2023-05-29 05:31:17 -05:00
005_make_end_time_nullable.py Add isort and ruff linter (#6575) 2023-05-29 05:31:17 -05:00
006_add_motion_active_objects.py Add isort and ruff linter (#6575) 2023-05-29 05:31:17 -05:00
007_add_retain_indefinitely.py Add isort and ruff linter (#6575) 2023-05-29 05:31:17 -05:00
008_add_sub_label.py Add isort and ruff linter (#6575) 2023-05-29 05:31:17 -05:00
009_add_object_filter_ratio.py Add isort and ruff linter (#6575) 2023-05-29 05:31:17 -05:00
010_add_plus_image_id.py Add isort and ruff linter (#6575) 2023-05-29 05:31:17 -05:00
011_update_indexes.py Migrate pydantic to V2 (#10142) 2024-02-29 16:10:13 -07:00
012_add_segment_size.py Add isort and ruff linter (#6575) 2023-05-29 05:31:17 -05:00
013_create_timeline_table.py Add isort and ruff linter (#6575) 2023-05-29 05:31:17 -05:00
014_event_updates_for_fp.py Add isort and ruff linter (#6575) 2023-05-29 05:31:17 -05:00
015_event_refactor.py Add isort and ruff linter (#6575) 2023-05-29 05:31:17 -05:00
016_sublabel_increase.py Add isort and ruff linter (#6575) 2023-05-29 05:31:17 -05:00
017_update_indexes.py Migrate pydantic to V2 (#10142) 2024-02-29 16:10:13 -07:00
018_add_dbfs.py Save average dBFS and retain segment with dBFS in motion mode (#7158) 2023-07-14 19:05:14 -05:00
019_create_regions_table.py Migrate pydantic to V2 (#10142) 2024-02-29 16:10:13 -07:00
020_update_index_recordings.py Migrate pydantic to V2 (#10142) 2024-02-29 16:10:13 -07:00
021_create_previews_table.py Migrate pydantic to V2 (#10142) 2024-02-29 16:10:13 -07:00
022_create_review_segment_table.py Create ReviewSegment table in DB for organizing detections to be reviewed (#9918) 2024-02-20 16:26:09 -07:00