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:
Tomás Cohen Arazi 2023-06-01 11:35:15 -03:00
parent 2eca0fe363
commit f4e2c2b476
Signed by: tomascohen
GPG key ID: 0A272EA1B2F3C15F

View file

@ -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`),