Database: Add weighing_reason to delivery_part

This commit is contained in:
2023-09-14 23:23:59 +02:00
parent 93dd3f42f3
commit db51e069bc
2 changed files with 6 additions and 3 deletions

View File

@ -542,6 +542,7 @@ CREATE TABLE delivery_part (
scale_id TEXT,
weighing_id TEXT,
weighing_reason TEXT CHECK (NOT (manual_weighing = TRUE AND weighing_reason IS NOT NULL)),
comment TEXT DEFAULT NULL,
ctime INTEGER NOT NULL DEFAULT (UNIXEPOCH()),