hack: remove faulty table from old migration

This commit is contained in:
saji 2024-03-06 15:16:13 -06:00
parent 0a6a6bb66d
commit 7a98f52542
2 changed files with 0 additions and 10 deletions

View file

@ -1,2 +1 @@
DROP TABLE "drive_records"; DROP TABLE "drive_records";
DROP TABLE "position_logs";

View file

@ -7,12 +7,3 @@ CREATE TABLE "drive_records" (
PRIMARY KEY("id" AUTOINCREMENT), PRIMARY KEY("id" AUTOINCREMENT),
CONSTRAINT "duration_valid" CHECK(end_time is null or start_time < end_time) 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 "")
);