diff --git a/internal/db/migrations/4_add_import_table_down.sql b/internal/db/migrations/4_add_import_table_down.sql new file mode 100644 index 0000000..7b05ad7 --- /dev/null +++ b/internal/db/migrations/4_add_import_table_down.sql @@ -0,0 +1 @@ +DROP TABLE "import_log"; diff --git a/internal/db/migrations/4_add_import_table_up.sql b/internal/db/migrations/4_add_import_table_up.sql new file mode 100644 index 0000000..5d798e0 --- /dev/null +++ b/internal/db/migrations/4_add_import_table_up.sql @@ -0,0 +1,7 @@ +CREATE TABLE "import_log" ( + "filename" TEXT NOT NULL, + "date" INTEGER NOT NULL, + "count" INTEGER NOT NULL, + "start_time" INTEGER NOT NULL, + "end_time" INTEGER NOT NULL +);