Perl-Upgrade-Scripte: db_query nun auch mit Bind-Parametern
[kivitendo-erp.git] / sql / Pg-upgrade2 / contacts_add_street_and_zipcode_and_city.pl
index f830e7c..9d684c1 100644 (file)
@@ -17,7 +17,7 @@ sub run {
     'ALTER TABLE contacts ADD COLUMN cp_city text;',
   );
 
-  $self->db_query($_, 1) for @queries;
+  $self->db_query($_, may_fail => 1) for @queries;
 
   return 1;
 }