X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=sql%2FPg-upgrade2%2Finvoices_amount_paid_not_null.sql;h=b5e5567c3a1653d9d10c00ff9f482ff312a23a81;hb=d21bdcaf73d55909d130fbbe26137fd45114adde;hp=9add1418ad65db8e3dc798d6608369f5d2551f9d;hpb=36b8f1ece3531e2f5fba5bc38932e450e57bb012;p=kivitendo-erp.git diff --git a/sql/Pg-upgrade2/invoices_amount_paid_not_null.sql b/sql/Pg-upgrade2/invoices_amount_paid_not_null.sql index 9add1418a..b5e5567c3 100644 --- a/sql/Pg-upgrade2/invoices_amount_paid_not_null.sql +++ b/sql/Pg-upgrade2/invoices_amount_paid_not_null.sql @@ -1,7 +1,6 @@ -- @tag: invoices_amount_paid_not_null -- @description: Bei Rechnungen die drei Spalten "amount", "netamount" und "paid" auf NOT NULL setzen -- @depends: release_3_2_0 --- @encoding: utf-8 UPDATE ar SET amount = 0 WHERE amount IS NULL; ALTER TABLE ar ALTER COLUMN amount SET NOT NULL;