fix migration #597
@ -203,7 +203,7 @@ CREATE TABLE IF NOT EXISTS "trailer" (
|
|||||||
|
|
||||||
CREATE TABLE IF NOT EXISTS "trailer_reservation" (
|
CREATE TABLE IF NOT EXISTS "trailer_reservation" (
|
||||||
"id" integer NOT NULL PRIMARY KEY AUTOINCREMENT,
|
"id" integer NOT NULL PRIMARY KEY AUTOINCREMENT,
|
||||||
"trailer_id" INTEGER NOT NULL REFERENCES boat(id),
|
"trailer_id" INTEGER NOT NULL REFERENCES trailer(id),
|
||||||
"start_date" DATE NOT NULL,
|
"start_date" DATE NOT NULL,
|
||||||
"end_date" DATE NOT NULL,
|
"end_date" DATE NOT NULL,
|
||||||
"time_desc" TEXT NOT NULL,
|
"time_desc" TEXT NOT NULL,
|
||||||
|
Loading…
Reference in New Issue
Block a user