From f493fdea1da616006a399111f375e7a88cce9995 Mon Sep 17 00:00:00 2001 From: tpjanssen <25168870+tpjanssen@users.noreply.github.com> Date: Tue, 7 Nov 2023 20:17:51 +0100 Subject: [PATCH] Update 020_update_index_recordings.py Formatting --- migrations/020_update_index_recordings.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/migrations/020_update_index_recordings.py b/migrations/020_update_index_recordings.py index 2d236ed2a..bb4940bd1 100644 --- a/migrations/020_update_index_recordings.py +++ b/migrations/020_update_index_recordings.py @@ -32,12 +32,12 @@ def migrate(migrator, database, fake=False, **kwargs): migrator.sql( 'CREATE INDEX "recordings_camera_start_time_end_time" ON "recordings" ("camera", "start_time" DESC, "end_time" DESC)' ) - migrator.sql( + migrator.sql( 'CREATE INDEX "recordings_api_recordings_summary" ON "recordings" ("camera", "start_time" DESC, "duration", "motion", "objects")' - ) - migrator.sql( + ) + migrator.sql( 'CREATE INDEX "recordings_start_time" ON "recordings" ("start_time")' - ) + ) def rollback(migrator, database, fake=False, **kwargs):