diff --git a/migrations/020_update_index_recordings.py b/migrations/020_update_index_recordings.py index 830bd34a6..0aa86572d 100644 --- a/migrations/020_update_index_recordings.py +++ b/migrations/020_update_index_recordings.py @@ -26,7 +26,7 @@ SQL = pw.SQL def migrate(migrator, database, fake=False, **kwargs): - migrator.sql('DROP INDEX recordings_end_time_start_time') + migrator.sql("DROP INDEX recordings_end_time_start_time") migrator.sql( 'CREATE INDEX "recordings_camera_start_time_end_time" ON "recordings" ("camera", "start_time" DESC, "end_time" DESC)' )