reorder migratoin
This commit is contained in:
parent
3d5ad30904
commit
22e8511212
@ -8,6 +8,14 @@ CREATE TABLE IF NOT EXISTS "user" (
|
||||
"deleted" boolean NOT NULL DEFAULT FALSE
|
||||
);
|
||||
|
||||
CREATE TABLE IF NOT EXISTS "trip_type" (
|
||||
"id" integer NOT NULL PRIMARY KEY AUTOINCREMENT,
|
||||
"name" text NOT NULL UNIQUE,
|
||||
"desc" text NOT NULL,
|
||||
"question" text NOT NULL,
|
||||
"icon" text NOT NULL
|
||||
);
|
||||
|
||||
CREATE TABLE IF NOT EXISTS "trip_details" (
|
||||
"id" integer NOT NULL PRIMARY KEY AUTOINCREMENT,
|
||||
"planned_starting_time" text NOT NULL,
|
||||
@ -55,10 +63,3 @@ CREATE TABLE IF NOT EXISTS "log" (
|
||||
"created_at" text NOT NULL DEFAULT CURRENT_TIMESTAMP
|
||||
);
|
||||
|
||||
CREATE TABLE IF NOT EXISTS "trip_type" (
|
||||
"id" integer NOT NULL PRIMARY KEY AUTOINCREMENT,
|
||||
"name" text NOT NULL UNIQUE,
|
||||
"desc" text NOT NULL,
|
||||
"question" text NOT NULL,
|
||||
"icon" text NOT NULL
|
||||
);
|
||||
|
Loading…
Reference in New Issue
Block a user