From: Moritz Bunkus Date: Fri, 19 Jul 2019 13:50:04 +0000 (+0200) Subject: Mahnungs-Tabelle: Fremdschlüsselverknüpfung auf Rechnungstabelle Part 2 X-Git-Tag: release-3.5.4~24 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=da2df61a078d3f7496a9e74f6540bb2e05f60541;p=kivitendo-erp.git Mahnungs-Tabelle: Fremdschlüsselverknüpfung auf Rechnungstabelle Part 2 --- diff --git a/sql/Pg-upgrade2/dunning_foreign_key_for_trans_id.sql b/sql/Pg-upgrade2/dunning_foreign_key_for_trans_id.sql index e84892e8a..37fb3e7d9 100644 --- a/sql/Pg-upgrade2/dunning_foreign_key_for_trans_id.sql +++ b/sql/Pg-upgrade2/dunning_foreign_key_for_trans_id.sql @@ -6,6 +6,7 @@ WHERE NOT EXISTS ( SELECT ar.id FROM ar WHERE ar.id = dunning.trans_id + LIMIT 1 ); ALTER TABLE dunning