X-Git-Url: http://wagnertech.de/git?p=kivitendo-erp.git;a=blobdiff_plain;f=sql%2FPg-upgrade2%2Finvoices_amount_paid_not_null.sql;fp=sql%2FPg-upgrade2%2Finvoices_amount_paid_not_null.sql;h=b5e5567c3a1653d9d10c00ff9f482ff312a23a81;hp=9add1418ad65db8e3dc798d6608369f5d2551f9d;hb=53593baa211863fbf66540cf1bcc36c8fb37257f;hpb=deb4d2dbb676d7d6f69dfe7815d6e0cb09bd4a44 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;