X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/7c9fc25b6893a1ea508185a0f1a197d6b46f187a..f47c2cd1dcbf2423d797d16a6e282be5163a398d:/sql/Pg-upgrade2/ap_add_direct_debit.sql?ds=sidebyside

diff --git a/sql/Pg-upgrade2/ap_add_direct_debit.sql b/sql/Pg-upgrade2/ap_add_direct_debit.sql
new file mode 100644
index 000000000..662b1c313
--- /dev/null
+++ b/sql/Pg-upgrade2/ap_add_direct_debit.sql
@@ -0,0 +1,7 @@
+-- @tag: ap_add_direct_debit
+-- @description: Spalte fÃ¼r Bankeinzug bei Einkaufsrechnungen
+-- @depends: release_3_0_0
+-- @charset: utf-8
+ALTER TABLE ap ADD COLUMN direct_debit boolean;
+ALTER TABLE ap ALTER COLUMN direct_debit SET DEFAULT FALSE;
+UPDATE ap SET direct_debit = FALSE;
