Merge pull request 'fix migration' (#597) from fix-migration into main
All checks were successful
CI/CD Pipeline / test (push) Successful in 9m13s
CI/CD Pipeline / deploy-staging (push) Has been skipped
CI/CD Pipeline / deploy-main (push) Successful in 6m26s

Reviewed-on: #597
This commit is contained in:
philipp 2024-06-16 20:15:58 +02:00
commit dfa7be9928

View File

@ -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,