Skip to content

Commit dc3b26c

Browse files
authored
Bug 1902375: fix foreignkey error upgrading from <3.0 to >=5.0.6 (#142)
1 parent 138fd64 commit dc3b26c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Bugzilla/Install/DB.pm

+1-1
Original file line numberDiff line numberDiff line change
@@ -923,7 +923,7 @@ sub _update_flagtypes_id {
923923
}
924924
}
925925

926-
if ($flagtypes_def->{TYPE} eq 'SMALLSERIAL') {
926+
if ($flagtypes_def->{TYPE} ne 'MEDIUMSERIAL') {
927927
$flagtypes_def->{TYPE} = 'MEDIUMSERIAL';
928928
$dbh->bz_alter_column('flagtypes', 'id', $flagtypes_def);
929929
}

0 commit comments

Comments
 (0)