diff options
author | Byron Jones <bjones@mozilla.com> | 2013-10-11 09:34:15 +0200 |
---|---|---|
committer | Byron Jones <bjones@mozilla.com> | 2013-10-11 09:34:15 +0200 |
commit | 26bbdeba1c9dcfe557a47f31ed5a408bf39d3153 (patch) | |
tree | 6afe3f3ba5b446a8d14bc3c71cc9c7e7bd4ce2ff /extensions/Review | |
parent | d00a1864608b3758cc93c0585a70421d5d0a3247 (diff) | |
download | bugzilla-26bbdeba1c9dcfe557a47f31ed5a408bf39d3153.tar.gz bugzilla-26bbdeba1c9dcfe557a47f31ed5a408bf39d3153.tar.xz |
Bug 920026: Schema changes only for bug 920026
Diffstat (limited to 'extensions/Review')
-rw-r--r-- | extensions/Review/Extension.pm | 19 |
1 files changed, 13 insertions, 6 deletions
diff --git a/extensions/Review/Extension.pm b/extensions/Review/Extension.pm index ed8191ab8..cc0f0f3de 100644 --- a/extensions/Review/Extension.pm +++ b/extensions/Review/Extension.pm @@ -433,12 +433,19 @@ sub install_update_db { my $dbh = Bugzilla->dbh; $dbh->bz_add_column( 'products', - 'reviewer_required', - { - TYPE => 'BOOLEAN', - NOTNULL => 1, - DEFAULT => 'FALSE', - } + 'reviewer_required', { TYPE => 'BOOLEAN', NOTNULL => 1, DEFAULT => 'FALSE' } + ); + $dbh->bz_add_column( + 'profiles', + 'review_request_count', { TYPE => 'INT2', NOTNULL => 1, DEFAULT => 0 } + ); + $dbh->bz_add_column( + 'profiles', + 'feedback_request_count', { TYPE => 'INT2', NOTNULL => 1, DEFAULT => 0 } + ); + $dbh->bz_add_column( + 'profiles', + 'needinfo_request_count', { TYPE => 'INT2', NOTNULL => 1, DEFAULT => 0 } ); } |