X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/deb4d2dbb676d7d6f69dfe7815d6e0cb09bd4a44..53593baa211863fbf66540cf1bcc36c8fb37257f:/sql/Pg-upgrade2/invoices_amount_paid_not_null.sql 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;