From 9398c6eb653b716b4a0678b1b35af2ef486f24ff Mon Sep 17 00:00:00 2001 From: Nicolas Mowen Date: Fri, 19 Apr 2024 14:01:46 -0600 Subject: [PATCH] Formatting --- migrations/024_create_export_table.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/migrations/024_create_export_table.py b/migrations/024_create_export_table.py index 408c9919e..414bd712e 100644 --- a/migrations/024_create_export_table.py +++ b/migrations/024_create_export_table.py @@ -30,9 +30,7 @@ def migrate(migrator, database, fake=False, **kwargs): migrator.sql( 'CREATE TABLE IF NOT EXISTS "export" ("id" VARCHAR(30) NOT NULL PRIMARY KEY, "camera" VARCHAR(20) NOT NULL, "name" VARCHAR(100) NOT NULL, "date" DATETIME NOT NULL, "video_path" VARCHAR(255) NOT NULL, "thumb_path" VARCHAR(255) NOT NULL, "in_progress" INTEGER NOT NULL)' ) - migrator.sql( - 'CREATE INDEX IF NOT EXISTS "export_camera" ON "export" ("camera")' - ) + migrator.sql('CREATE INDEX IF NOT EXISTS "export_camera" ON "export" ("camera")') def rollback(migrator, database, fake=False, **kwargs):