X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/01b298ec34411c2eb6272cad65d5065cf6e812f5..8917f20a9741fe87460d1f9158a73807ec3c228c:/sql/Pg-upgrade2/receivable_payable_default_accounts.sql

diff --git a/sql/Pg-upgrade2/receivable_payable_default_accounts.sql b/sql/Pg-upgrade2/receivable_payable_default_accounts.sql
new file mode 100644
index 000000000..b1346ac3f
--- /dev/null
+++ b/sql/Pg-upgrade2/receivable_payable_default_accounts.sql
@@ -0,0 +1,7 @@
+-- @tag: ar_ap_default
+-- @description: Standardkonten fÃ¼r Forderungen und Verbindlichkeiten
+-- @depends: release_3_2_0
+ALTER TABLE defaults ADD COLUMN ap_chart_id integer;
+ALTER TABLE defaults ADD FOREIGN KEY (ap_chart_id) REFERENCES chart (id);
+ALTER TABLE defaults ADD COLUMN ar_chart_id integer;
+ALTER TABLE defaults ADD FOREIGN KEY (ar_chart_id) REFERENCES chart (id);
