Revision 1f0a5bd8
Von Moritz Bunkus vor mehr als 11 Jahren hinzugefügt
SL/DBUpgrade2/Base.pm | ||
---|---|---|
132 | 132 |
AND (table_name = ?) |
133 | 133 |
SQL |
134 | 134 |
|
135 |
$self->db_query(qq|ALTER TABLE auth."$params{table}" DROP CONSTRAINT "${_}"|) for map { $_->[0] } @{ $constraints };
|
|
135 |
$self->db_query(qq|ALTER TABLE $params{schema}."$params{table}" DROP CONSTRAINT "${_}"|) for map { $_->[0] } @{ $constraints };
|
|
136 | 136 |
} |
137 | 137 |
|
138 | 138 |
1; |
Auch abrufbar als: Unified diff
SL::DBUpgrade2::Base::drop_constraints: Schema-Namen nicht hardcoden