Files
elwig/Elwig/Resources/Sql/24-25.sql
Lorenz Stechauner 4a7dd9b000
All checks were successful
Test / Run tests (push) Successful in 1m56s
Weighing: Do not ignore gross and tare weight and show it on DeliveryNote
2024-07-23 11:11:37 +02:00

5 lines
243 B
SQL

-- schema version 24 to 25
ALTER TABLE delivery_part RENAME COLUMN weighing_id TO weighing_data;
UPDATE delivery_part SET weighing_data = '{"id":"' || weighing_data || '","nr":' || SUBSTR(weighing_data, INSTR(weighing_data, '/') + 1) || '}';