X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/54598fded9096ab9e53623080e4210bdb4e83f06..e7e7b7c6c69658cd3bb4c87bf8f907fd78a83104:/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;
