summaryrefslogtreecommitdiffstats
path: root/Bugzilla/DB
diff options
context:
space:
mode:
authormkanat%bugzilla.org <>2006-08-04 13:04:25 +0200
committermkanat%bugzilla.org <>2006-08-04 13:04:25 +0200
commitd4def1e24aa0e9329df1e39de161830b4884e565 (patch)
tree2696340a0a1de6104a8b9c463c772ad2d520e7a0 /Bugzilla/DB
parent7c9ed2d47efc8f5747a61f8e59ce0cb2e83d797b (diff)
downloadbugzilla-d4def1e24aa0e9329df1e39de161830b4884e565.tar.gz
bugzilla-d4def1e24aa0e9329df1e39de161830b4884e565.tar.xz
Bug 347290: Move default product and classification creation into Bugzilla::Install
Patch By Max Kanat-Alexander <mkanat@bugzilla.org> (module owner) a=justdave
Diffstat (limited to 'Bugzilla/DB')
-rw-r--r--Bugzilla/DB/Schema.pm12
1 files changed, 8 insertions, 4 deletions
diff --git a/Bugzilla/DB/Schema.pm b/Bugzilla/DB/Schema.pm
index 9f4670845..088a70a78 100644
--- a/Bugzilla/DB/Schema.pm
+++ b/Bugzilla/DB/Schema.pm
@@ -874,12 +874,16 @@ use constant ABSTRACT_SCHEMA => {
classification_id => {TYPE => 'INT2', NOTNULL => 1,
DEFAULT => '1'},
description => {TYPE => 'MEDIUMTEXT'},
- milestoneurl => {TYPE => 'TINYTEXT', NOTNULL => 1},
- disallownew => {TYPE => 'BOOLEAN', NOTNULL => 1},
- votesperuser => {TYPE => 'INT2', NOTNULL => 1},
+ milestoneurl => {TYPE => 'TINYTEXT', NOTNULL => 1,
+ DEFAULT => "''"},
+ disallownew => {TYPE => 'BOOLEAN', NOTNULL => 1,
+ DEFAULT => 0},
+ votesperuser => {TYPE => 'INT2', NOTNULL => 1,
+ DEFAULT => 0},
maxvotesperbug => {TYPE => 'INT2', NOTNULL => 1,
DEFAULT => '10000'},
- votestoconfirm => {TYPE => 'INT2', NOTNULL => 1},
+ votestoconfirm => {TYPE => 'INT2', NOTNULL => 1,
+ DEFAULT => 0},
defaultmilestone => {TYPE => 'varchar(20)',
NOTNULL => 1, DEFAULT => "'---'"},
],