X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/6caf1000dabee234d86457ff433268cebd8e0447..8453789b:/sql/Pg-upgrade2/customer_create_zugferd_invoices.sql

diff --git a/sql/Pg-upgrade2/customer_create_zugferd_invoices.sql b/sql/Pg-upgrade2/customer_create_zugferd_invoices.sql
index 3d85d9444..388c8f350 100644
--- a/sql/Pg-upgrade2/customer_create_zugferd_invoices.sql
+++ b/sql/Pg-upgrade2/customer_create_zugferd_invoices.sql
@@ -2,11 +2,5 @@
 -- @description: Kundenstammdaten: Einstellungen fÃ¼r ZUGFeRD-Rechnungen
 -- @depends: release_3_5_5
 ALTER TABLE customer
-ADD COLUMN create_zugferd_invoices INTEGER;
-
-UPDATE customer
-SET create_zugferd_invoices = -1;
-
-ALTER TABLE customer
-ALTER COLUMN create_zugferd_invoices SET DEFAULT -1,
-ALTER COLUMN create_zugferd_invoices SET NOT NULL;
+ADD COLUMN create_zugferd_invoices INTEGER
+DEFAULT -1 NOT NULL;
