diff options
Diffstat (limited to 'extensions/BMO/Extension.pm')
-rw-r--r-- | extensions/BMO/Extension.pm | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/extensions/BMO/Extension.pm b/extensions/BMO/Extension.pm index 75ca30d8d..97e31796c 100644 --- a/extensions/BMO/Extension.pm +++ b/extensions/BMO/Extension.pm @@ -834,6 +834,19 @@ sub install_update_db { # remove tables from the old TryAutoLand extension $dbh->bz_drop_table('autoland_branches'); $dbh->bz_drop_table('autoland_attachments'); + + unless (Bugzilla::Field->new({ name => 'cf_rank' })) { + Bugzilla::Field->create({ + name => 'cf_rank', + description => 'Rank', + type => FIELD_TYPE_INTEGER, + mailhead => 0, + enter_bug => 0, + obsolete => 0, + custom => 1, + buglist => 1, + }); + } } sub _last_closed_date { |