X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/4b7f17c8d92bff2e9f495d476a650dc3897c3097..a87694dc525b4eabff11029f1e5401621e2bd3bc:/sql/Pg-upgrade2/bank_accounts_unique_chart_constraint.sql

diff --git a/sql/Pg-upgrade2/bank_accounts_unique_chart_constraint.sql b/sql/Pg-upgrade2/bank_accounts_unique_chart_constraint.sql
new file mode 100644
index 000000000..c5eb53fa8
--- /dev/null
+++ b/sql/Pg-upgrade2/bank_accounts_unique_chart_constraint.sql
@@ -0,0 +1,6 @@
+-- @tag: bank_accounts_unique_chart_constraint
+-- @description: Bankkonto - Constraint fÃ¼r eindeutiges Konto
+-- @depends: release_3_2_0 bank_accounts
+-- @encoding: utf-8
+
+ALTER TABLE bank_accounts ADD CONSTRAINT chart_id_unique UNIQUE (chart_id);
