1 -- @tag: payment_terms_automatic_calculation
2 -- @description: Zahlungsbedingungen: Einstellmöglichkeit zur automatischen/manuellen Datumsberechnung
3 -- @depends: release_3_2_0
5 ALTER TABLE payment_terms ADD COLUMN auto_calculation BOOLEAN;
6 UPDATE payment_terms SET auto_calculation = TRUE;
7 ALTER TABLE payment_terms ALTER COLUMN auto_calculation SET NOT NULL;