From aea2a07116073f1dbd0fddd06dd6780c08e96109 Mon Sep 17 00:00:00 2001 From: Dave Miller Date: Mon, 26 Aug 2024 03:06:16 -0400 Subject: [PATCH] Bug 1902375: fix foreignkey error upgrading from <3.0 to >=5.0.6 (#196) --- Bugzilla/Install/DB.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Bugzilla/Install/DB.pm b/Bugzilla/Install/DB.pm index 5697e10cda..1570a1b4da 100644 --- a/Bugzilla/Install/DB.pm +++ b/Bugzilla/Install/DB.pm @@ -837,7 +837,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); } -- 2.47.3