X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/d71bfc9b3cd78a4a9b1c1951572af67c1e9d2925..c0591c923d1a5f86eca1db2bb4cb40242a1b8445:/sql/Pg-upgrade2/lastschrift.sql

diff --git a/sql/Pg-upgrade2/lastschrift.sql b/sql/Pg-upgrade2/lastschrift.sql
index 500b03e82..f468d3c44 100644
--- a/sql/Pg-upgrade2/lastschrift.sql
+++ b/sql/Pg-upgrade2/lastschrift.sql
@@ -1,5 +1,7 @@
 -- @tag: direct_debit 
 -- @description: Schalter fuer Lastschrift
 -- @depends: release_2_4_3
-ALTER TABLE customer ADD COLUMN direct_debit boolean DEFAULT false;
-ALTER TABLE vendor ADD COLUMN  direct_debit boolean DEFAULT false;
+ALTER TABLE customer ADD COLUMN direct_debit boolean;
+ALTER TABLE customer ALTER direct_debit SET DEFAULT false;
+ALTER TABLE vendor ADD COLUMN  direct_debit boolean;
+ALTER TABLE vendor ALTER direct_debit SET DEFAULT false;
