Bug 22440: (QA follow-up) Fix wrong check in db_rev
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
parent
2eca0fe363
commit
f4e2c2b476
1 changed files with 1 additions and 1 deletions
|
@ -7,7 +7,7 @@ return {
|
|||
my ($args) = @_;
|
||||
my ($dbh, $out) = @$args{qw(dbh out)};
|
||||
|
||||
if ( foreign_key_exists( 'illrequests', 'illrequests_bibfk' ) ) {
|
||||
unless ( foreign_key_exists( 'illrequests', 'illrequests_bibfk' ) ) {
|
||||
$dbh->do(q{
|
||||
ALTER TABLE illrequests
|
||||
ADD KEY `illrequests_bibfk` (`biblio_id`),
|
||||
|
|
Loading…
Reference in a new issue