move always_show to tripdetails
This commit is contained in:
@ -24,6 +24,7 @@ CREATE TABLE IF NOT EXISTS "trip_details" (
|
||||
"day" TEXT NOT NULL,
|
||||
"allow_guests" boolean NOT NULL default false,
|
||||
"notes" TEXT,
|
||||
"always_show" boolean NOT NULL default false,
|
||||
"trip_type_id" INTEGER,
|
||||
FOREIGN KEY(trip_type_id) REFERENCES trip_type(id)
|
||||
);
|
||||
@ -34,7 +35,6 @@ CREATE TABLE IF NOT EXISTS "planned_event" (
|
||||
"planned_amount_cox" INTEGER unsigned NOT NULL,
|
||||
"trip_details_id" INTEGER NOT NULL,
|
||||
"created_at" text NOT NULL DEFAULT CURRENT_TIMESTAMP,
|
||||
"always_show" boolean NOT NULL default false,
|
||||
FOREIGN KEY(trip_details_id) REFERENCES trip_details(id) ON DELETE CASCADE
|
||||
);
|
||||
|
||||
|
Reference in New Issue
Block a user