summaryrefslogtreecommitdiffstats
path: root/extensions/Review
diff options
context:
space:
mode:
authorByron Jones <bjones@mozilla.com>2013-10-11 09:34:15 +0200
committerByron Jones <bjones@mozilla.com>2013-10-11 09:34:15 +0200
commit26bbdeba1c9dcfe557a47f31ed5a408bf39d3153 (patch)
tree6afe3f3ba5b446a8d14bc3c71cc9c7e7bd4ce2ff /extensions/Review
parentd00a1864608b3758cc93c0585a70421d5d0a3247 (diff)
downloadbugzilla-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.pm19
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 }
);
}