frigate/migrations
Claude fd99121408
Pivot per audit: add nginx vod_response_cache, drop premature DB indexes
- Add vod_response_cache (64m) to nginx-vod-module config, directly
  targeting the maintainer-identified bottleneck of manifest/playlist
  generation on historical playback cold opens
- Remove migration 036 (composite recording indexes) — existing indexes
  are already sufficient; schema expansion deferred until profiling
  justifies it

This aligns with the V2 limited-scope patch plan:
  1. nginx VOD response cache (this commit)
  2. vod_ts overlap predicate rewrite (prior commit)
  3. in-process historical mapping memoization (prior commit)
  4. sibling path cleanup in recording_clip (prior commit)

https://claude.ai/code/session_01XeVxvSk9ywyPBR288ZZXWE
2026-03-07 02:27:36 +00:00
..
001_create_events_table.py Update peewee-migrate to 0.14.x (#21243) 2025-12-13 07:13:04 -07:00
002_add_clip_snapshot.py Update peewee-migrate to 0.14.x (#21243) 2025-12-13 07:13:04 -07:00
003_create_recordings_table.py Update peewee-migrate to 0.14.x (#21243) 2025-12-13 07:13:04 -07:00
004_add_bbox_region_area.py Update peewee-migrate to 0.14.x (#21243) 2025-12-13 07:13:04 -07:00
005_make_end_time_nullable.py Update peewee-migrate to 0.14.x (#21243) 2025-12-13 07:13:04 -07:00
006_add_motion_active_objects.py Update peewee-migrate to 0.14.x (#21243) 2025-12-13 07:13:04 -07:00
007_add_retain_indefinitely.py Update peewee-migrate to 0.14.x (#21243) 2025-12-13 07:13:04 -07:00
008_add_sub_label.py Update peewee-migrate to 0.14.x (#21243) 2025-12-13 07:13:04 -07:00
009_add_object_filter_ratio.py Update peewee-migrate to 0.14.x (#21243) 2025-12-13 07:13:04 -07:00
010_add_plus_image_id.py Update peewee-migrate to 0.14.x (#21243) 2025-12-13 07:13:04 -07:00
011_update_indexes.py Update peewee-migrate to 0.14.x (#21243) 2025-12-13 07:13:04 -07:00
012_add_segment_size.py Update peewee-migrate to 0.14.x (#21243) 2025-12-13 07:13:04 -07:00
013_create_timeline_table.py Update peewee-migrate to 0.14.x (#21243) 2025-12-13 07:13:04 -07:00
014_event_updates_for_fp.py Update peewee-migrate to 0.14.x (#21243) 2025-12-13 07:13:04 -07:00
015_event_refactor.py Update peewee-migrate to 0.14.x (#21243) 2025-12-13 07:13:04 -07:00
016_sublabel_increase.py Update peewee-migrate to 0.14.x (#21243) 2025-12-13 07:13:04 -07:00
017_update_indexes.py Update peewee-migrate to 0.14.x (#21243) 2025-12-13 07:13:04 -07:00
018_add_dbfs.py Update peewee-migrate to 0.14.x (#21243) 2025-12-13 07:13:04 -07:00
019_create_regions_table.py Update peewee-migrate to 0.14.x (#21243) 2025-12-13 07:13:04 -07:00
020_update_index_recordings.py Update peewee-migrate to 0.14.x (#21243) 2025-12-13 07:13:04 -07:00
021_create_previews_table.py Update peewee-migrate to 0.14.x (#21243) 2025-12-13 07:13:04 -07:00
022_create_review_segment_table.py Update peewee-migrate to 0.14.x (#21243) 2025-12-13 07:13:04 -07:00
023_add_regions.py Update peewee-migrate to 0.14.x (#21243) 2025-12-13 07:13:04 -07:00
024_create_export_table.py Update peewee-migrate to 0.14.x (#21243) 2025-12-13 07:13:04 -07:00
025_create_user_table.py Update peewee-migrate to 0.14.x (#21243) 2025-12-13 07:13:04 -07:00
026_add_notification_tokens.py Update peewee-migrate to 0.14.x (#21243) 2025-12-13 07:13:04 -07:00
027_create_explore_index.py Update peewee-migrate to 0.14.x (#21243) 2025-12-13 07:13:04 -07:00
028_optional_event_thumbnail.py Update peewee-migrate to 0.14.x (#21243) 2025-12-13 07:13:04 -07:00
029_add_user_role.py Update peewee-migrate to 0.14.x (#21243) 2025-12-13 07:13:04 -07:00
030_create_user_review_status.py Update peewee-migrate to 0.14.x (#21243) 2025-12-13 07:13:04 -07:00
031_create_trigger_table.py Update peewee-migrate to 0.14.x (#21243) 2025-12-13 07:13:04 -07:00
032_add_password_changed_at.py Update peewee-migrate to 0.14.x (#21243) 2025-12-13 07:13:04 -07:00
033_create_export_case_table.py Create scaffolding for case management (#21293) 2026-02-26 21:27:56 -07:00
034_add_export_case_to_exports.py Create scaffolding for case management (#21293) 2026-02-26 21:27:56 -07:00
035_add_motion_heatmap.py Improve motion review and add motion search (#22253) 2026-03-05 17:53:48 -06:00