From: Moritz Bunkus Date: Mon, 3 Jun 2013 08:34:58 +0000 (+0200) Subject: Anpassung an neue Syntax für SL::DBUpgrade2::Base::db_query() X-Git-Tag: release-3.1.0beta1~373 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=90d68ea85d317b614482a3f3e27da9db00c7b306;p=kivitendo-erp.git Anpassung an neue Syntax für SL::DBUpgrade2::Base::db_query() --- diff --git a/sql/Pg-upgrade2-auth/auth_schema_normalization_1.pl b/sql/Pg-upgrade2-auth/auth_schema_normalization_1.pl index 3cb411b3b..2b0e28bb5 100644 --- a/sql/Pg-upgrade2-auth/auth_schema_normalization_1.pl +++ b/sql/Pg-upgrade2-auth/auth_schema_normalization_1.pl @@ -15,7 +15,7 @@ sub run { qq|ALTER TABLE auth.user_config ADD PRIMARY KEY (user_id, cfg_key);|, qq|ALTER TABLE auth.user_group ADD PRIMARY KEY (user_id, group_id);|); - $self->db_query($_, 1) for @queries; + $self->db_query($_, may_fail => 1) for @queries; return 1; }