projects
/
kivitendo-erp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
99dd63d
)
SL::DBUpgrade2::Base::drop_constraints: Schema-Namen nicht hardcoden
author
Moritz Bunkus
<m.bunkus@linet-services.de>
Thu, 11 Jul 2013 15:42:49 +0000
(17:42 +0200)
committer
Moritz Bunkus
<m.bunkus@linet-services.de>
Thu, 11 Jul 2013 15:50:33 +0000
(17:50 +0200)
SL/DBUpgrade2/Base.pm
patch
|
blob
|
history
diff --git
a/SL/DBUpgrade2/Base.pm
b/SL/DBUpgrade2/Base.pm
index
6367911
..
100652e
100644
(file)
--- 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;