From 1f0a5bd840b6725dccb2de7ace24127eb7d3e91b Mon Sep 17 00:00:00 2001 From: Moritz Bunkus Date: Thu, 11 Jul 2013 17:42:49 +0200 Subject: [PATCH] SL::DBUpgrade2::Base::drop_constraints: Schema-Namen nicht hardcoden --- SL/DBUpgrade2/Base.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SL/DBUpgrade2/Base.pm b/SL/DBUpgrade2/Base.pm index 6367911b9..100652e15 100644 --- a/SL/DBUpgrade2/Base.pm +++ b/SL/DBUpgrade2/Base.pm @@ -132,7 +132,7 @@ sub drop_constraints { AND (table_name = ?) SQL - $self->db_query(qq|ALTER TABLE auth."$params{table}" DROP CONSTRAINT "${_}"|) for map { $_->[0] } @{ $constraints }; + $self->db_query(qq|ALTER TABLE $params{schema}."$params{table}" DROP CONSTRAINT "${_}"|) for map { $_->[0] } @{ $constraints }; } 1; -- 2.20.1