diff options
Diffstat (limited to 'Bugzilla/Install')
-rw-r--r-- | Bugzilla/Install/DB.pm | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Bugzilla/Install/DB.pm b/Bugzilla/Install/DB.pm index 4dcf0d637..47c8873fa 100644 --- a/Bugzilla/Install/DB.pm +++ b/Bugzilla/Install/DB.pm @@ -115,6 +115,11 @@ sub update_fielddefs_definition { # 2010-04-05 dkl@redhat.com - Bug 479400 _migrate_field_visibility_value(); + $dbh->bz_add_column('fielddefs', 'is_numeric', + {TYPE => 'BOOLEAN', NOTNULL => 1, DEFAULT => 'FALSE'}); + $dbh->do('UPDATE fielddefs SET is_numeric = 1 WHERE type = ' + . FIELD_TYPE_BUG_ID); + # Remember, this is not the function for adding general table changes. # That is below. Add new changes to the fielddefs table above this # comment. |