projects
/
kivitendo-erp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d71bfc9
)
PostgreSQL-Versionen vor 8.0 erlauben nicht, in einem Befehl neue Spalten hinzuzufüge...
author
Moritz Bunkus
<m.bunkus@linet-services.de>
Fri, 5 Dec 2008 15:50:31 +0000
(15:50 +0000)
committer
Moritz Bunkus
<m.bunkus@linet-services.de>
Fri, 5 Dec 2008 15:50:31 +0000
(15:50 +0000)
sql/Pg-upgrade2/lastschrift.sql
patch
|
blob
|
history
diff --git
a/sql/Pg-upgrade2/lastschrift.sql
b/sql/Pg-upgrade2/lastschrift.sql
index
500b03e
..
f468d3c
100644
(file)
--- 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;