From 21596961125b58f75673652e6725a9718a48bda0 Mon Sep 17 00:00:00 2001 From: philipp Date: Sun, 16 Jun 2024 20:00:44 +0200 Subject: [PATCH] fix migration --- migration.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/migration.sql b/migration.sql index 5b7befc..6a15998 100644 --- a/migration.sql +++ b/migration.sql @@ -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,