From 26bbdeba1c9dcfe557a47f31ed5a408bf39d3153 Mon Sep 17 00:00:00 2001 From: Byron Jones Date: Fri, 11 Oct 2013 15:34:15 +0800 Subject: Bug 920026: Schema changes only for bug 920026 --- extensions/Review/Extension.pm | 19 +++++++++++++------ 1 file changed, 13 insertions(+), 6 deletions(-) (limited to 'extensions/Review/Extension.pm') 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 } ); } -- cgit v1.2.3-24-g4f1b