X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/8b3f1910b40a6e282302e32c635ca8b2e880e4c8..b90ff6b18df92c98b1b875d14835d1fdf9ff339a:/sql/Pg-upgrade2/defaults_advance_payment_transfer_charts.sql

diff --git a/sql/Pg-upgrade2/defaults_advance_payment_transfer_charts.sql b/sql/Pg-upgrade2/defaults_advance_payment_transfer_charts.sql
index 864e7a483..f77b2578e 100644
--- a/sql/Pg-upgrade2/defaults_advance_payment_transfer_charts.sql
+++ b/sql/Pg-upgrade2/defaults_advance_payment_transfer_charts.sql
@@ -5,7 +5,7 @@
 
 ALTER TABLE defaults ADD COLUMN advance_payment_taxable_19_id INTEGER;
 ALTER TABLE defaults ADD COLUMN advance_payment_taxable_7_id  INTEGER;
-UPDATE charts set link ='AR' where id = (select advance_payment_clearing_chart_id from defaults);
+UPDATE chart set link ='AR' where id = (select advance_payment_clearing_chart_id from defaults);
 
 
 DO $$
