This commit is contained in:
2023-10-26 20:37:48 +02:00
parent 31b2ed3b37
commit 3f5fc85a8b
2 changed files with 2 additions and 2 deletions

View File

@ -86,7 +86,7 @@ CREATE TABLE IF NOT EXISTS "logbook_type" (
CREATE TABLE IF NOT EXISTS "logbook" (
"id" integer NOT NULL PRIMARY KEY AUTOINCREMENT,
"boat_id" INTEGER NOT NULL REFERENCES boat(id),
"shipmaster" INTEGER NOT NULL REFERENCES user(id), -- null: club is owner
"shipmaster" INTEGER NOT NULL REFERENCES user(id),
"shipmaster_only_steering" boolean not null,
"departure" datetime not null,
"arrival" datetime, -- None -> ship is on water