Skip to content

Commit

Permalink
Bug 1902375: fix foreignkey error upgrading from <3.0 to >=5.0.6 (#142)
Browse files Browse the repository at this point in the history
  • Loading branch information
justdave authored Aug 26, 2024
1 parent 138fd64 commit dc3b26c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Bugzilla/Install/DB.pm
Original file line number Diff line number Diff line change
Expand Up @@ -923,7 +923,7 @@ sub _update_flagtypes_id {
}
}

if ($flagtypes_def->{TYPE} eq 'SMALLSERIAL') {
if ($flagtypes_def->{TYPE} ne 'MEDIUMSERIAL') {
$flagtypes_def->{TYPE} = 'MEDIUMSERIAL';
$dbh->bz_alter_column('flagtypes', 'id', $flagtypes_def);
}
Expand Down

0 comments on commit dc3b26c

Please sign in to comment.