diff --git a/migrations/2_addl_tables_down.sql b/migrations/2_addl_tables_down.sql index 37f1d85..9aa64df 100644 --- a/migrations/2_addl_tables_down.sql +++ b/migrations/2_addl_tables_down.sql @@ -1,2 +1 @@ DROP TABLE "drive_records"; -DROP TABLE "position_logs"; \ No newline at end of file diff --git a/migrations/2_addl_tables_up.sql b/migrations/2_addl_tables_up.sql index 0169b71..734beeb 100644 --- a/migrations/2_addl_tables_up.sql +++ b/migrations/2_addl_tables_up.sql @@ -7,12 +7,3 @@ CREATE TABLE "drive_records" ( PRIMARY KEY("id" AUTOINCREMENT), CONSTRAINT "duration_valid" CHECK(end_time is null or start_time < end_time) ); - -CREATE TABLE "position_logs" ( - "ts" INTEGER NOT NULL, - "source" TEXT NOT NULL, - "lat" REAL NOT NULL, - "lon" REAL NOT NULL, - "elevation" REAL, - CONSTRAINT "no_empty_source" CHECK(source is not "") -); \ No newline at end of file