Merge pull request 'fix migration' (#596) from fix-migration into staging

Reviewed-on: Ruderverein-Donau-Linz/rowt#596
This commit is contained in:
philipp 2024-06-16 20:15:54 +02:00
commit 03a467270d

View File

@ -203,7 +203,7 @@ CREATE TABLE IF NOT EXISTS "trailer" (
CREATE TABLE IF NOT EXISTS "trailer_reservation" (
"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,
"end_date" DATE NOT NULL,
"time_desc" TEXT NOT NULL,