summaryrefslogtreecommitdiffstats
path: root/checksetup.pl
diff options
context:
space:
mode:
authorterry%mozilla.org <>2000-03-23 09:04:08 +0100
committerterry%mozilla.org <>2000-03-23 09:04:08 +0100
commit903acdf95377df5d1513732cb3c136a875b177c0 (patch)
tree52d1b3274dfdd0aa13bf45d429ebcfe8ad9cf1ce /checksetup.pl
parent6b2eec91f21d4aa28e68f18435c8636f377a4b2a (diff)
downloadbugzilla-903acdf95377df5d1513732cb3c136a875b177c0.tar.gz
bugzilla-903acdf95377df5d1513732cb3c136a875b177c0.tar.xz
Quick hack to fix the fact that new bugs have target_milestone of ""
when it really oughta be "---".
Diffstat (limited to 'checksetup.pl')
-rwxr-xr-xchecksetup.pl14
1 files changed, 12 insertions, 2 deletions
diff --git a/checksetup.pl b/checksetup.pl
index e31d85499..a5aa6e8c2 100755
--- a/checksetup.pl
+++ b/checksetup.pl
@@ -560,7 +560,7 @@ $table{bugs} =
version varchar(16) not null,
component varchar(50) not null,
resolution enum("", "FIXED", "INVALID", "WONTFIX", "LATER", "REMIND", "DUPLICATE", "WORKSFORME") not null,
- target_milestone varchar(20) not null,
+ target_milestone varchar(20) not null default "---",
qa_contact mediumint not null,
status_whiteboard mediumtext not null,
votes mediumint not null,
@@ -753,7 +753,7 @@ $table{keyworddefs} =
$table{milestones} =
- 'value varchar(190) not null,
+ 'value varchar(20) not null,
product varchar(64) not null,
sortkey smallint not null,
unique (product, value)';
@@ -1537,6 +1537,16 @@ if (!($sth->fetchrow_arrayref()->[0])) {
}
}
+# 2000-03-22 Changed the default value for target_milestone to be "---"
+# (which is still not quite correct, but much better than what it was
+# doing), and made the size of the value field in the milestones table match
+# the size of the target_milestone field in the bugs table.
+
+ChangeFieldType('bugs', 'target_milestone',
+ 'varchar(20) not null default "---"');
+ChangeFieldType('milestones', 'value', 'varchar(20) not null');
+
+
#
# If you had to change the --TABLE-- definition in any way, then add your
# differential change code *** A B O V E *** this comment.