[#34] Billing: Collapse data more compactly
This commit is contained in:
@ -76,7 +76,7 @@ GROUP BY b.year, b.mgnr, b.sortid
|
||||
ORDER BY year, mgnr, bucket;
|
||||
|
||||
PRAGMA schema_version = 1701;
|
||||
PRAGMA writable_schame = OFF;
|
||||
PRAGMA writable_schema = OFF;
|
||||
|
||||
----------------------------------------------------------------
|
||||
|
||||
@ -89,4 +89,4 @@ DELETE FROM area_commitment_type WHERE attrid = 'B';
|
||||
UPDATE delivery_part SET cultid = 'B', attrid = NULL WHERE attrid = 'B';
|
||||
DELETE FROM wine_attribute WHERE attrid = 'B';
|
||||
|
||||
UPDATE payment_variant SET data = REPLACE(REPLACE(data, '/B', '/-B'), '"/-B"', '"-B"');
|
||||
UPDATE payment_variant SET data = REPLACE(REPLACE(REPLACE(data, '/B', '-B'), '/"', '"'), '/-', '-');
|
||||
|
Reference in New Issue
Block a user