AppDbUpdater: Extract sql commands as embedded resources

This commit is contained in:
2024-01-05 13:17:29 +01:00
parent ab61edc402
commit f28a1a2db9
13 changed files with 695 additions and 756 deletions

View File

@ -0,0 +1,7 @@
-- schema version 1 to 2
DROP VIEW v_area_commitment;
ALTER TABLE delivery_part DROP COLUMN weighing_reason;
ALTER TABLE delivery_part ADD COLUMN weighing_reason TEXT CHECK(NOT (manual_weighing = FALSE AND weighing_reason IS NOT NULL));