AppDbUpdater: Extract sql commands as embedded resources
This commit is contained in:
7
Elwig/Resources/Sql/01-02.sql
Normal file
7
Elwig/Resources/Sql/01-02.sql
Normal 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));
|
Reference in New Issue
Block a user