fix stat query

This commit is contained in:
2023-08-05 15:58:17 +02:00
parent 7309b1f2b2
commit 64aefde8bc
2 changed files with 20 additions and 13 deletions

View File

@ -94,8 +94,8 @@ CREATE TABLE IF NOT EXISTS "logbook" (
"boat_id" INTEGER NOT NULL REFERENCES boat(id),
"shipmaster" INTEGER NOT NULL REFERENCES user(id), -- null: club is owner
"shipmaster_only_steering" boolean not null,
"departure" text not null,
"arrival" text, -- None -> ship is on water
"departure" datetime not null,
"arrival" datetime, -- None -> ship is on water
"destination" text,
"distance_in_km" integer,
"comments" text,