Database: Add weighing_reason to delivery_part
This commit is contained in:
@ -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()),
|
||||
|
Reference in New Issue
Block a user