X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/77061a7b4a39fe5fedbc1186bf9f048e78627cde..28fee2e2ebc6746bcfeb47c0318e79789ba1c850:/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..59e0b0a2a
--- /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
+-- @encoding: utf-8
+
+ALTER TABLE bank_accounts ADD CONSTRAINT chart_id_unique UNIQUE (chart_id);
