use constant MAX_PRODUCT_SIZE => 64;
# The longest milestone name allowed.
-use constant MAX_MILESTONE_SIZE => 20;
+use constant MAX_MILESTONE_SIZE => 64;
# The longest component name allowed.
use constant MAX_COMPONENT_SIZE => 64;
COLUMN => 'id'}},
resolution => {TYPE => 'varchar(64)',
NOTNULL => 1, DEFAULT => "''"},
- target_milestone => {TYPE => 'varchar(20)',
+ target_milestone => {TYPE => 'varchar(64)',
NOTNULL => 1, DEFAULT => "'---'"},
qa_contact => {TYPE => 'INT3',
REFERENCES => {TABLE => 'profiles',
REFERENCES => {TABLE => 'products',
COLUMN => 'id',
DELETE => 'CASCADE'}},
- value => {TYPE => 'varchar(20)', NOTNULL => 1},
+ value => {TYPE => 'varchar(64)', NOTNULL => 1},
sortkey => {TYPE => 'INT2', NOTNULL => 1,
DEFAULT => 0},
isactive => {TYPE => 'BOOLEAN', NOTNULL => 1,
description => {TYPE => 'MEDIUMTEXT', NOTNULL => 1},
isactive => {TYPE => 'BOOLEAN', NOTNULL => 1,
DEFAULT => 1},
- defaultmilestone => {TYPE => 'varchar(20)',
+ defaultmilestone => {TYPE => 'varchar(64)',
NOTNULL => 1, DEFAULT => "'---'"},
allows_unconfirmed => {TYPE => 'BOOLEAN', NOTNULL => 1,
DEFAULT => 'TRUE'},
-# This Source Code Form is subject to the terms of the Mozilla Public
+11# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
#
_populate_milestones_table();
- # 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.
- $dbh->bz_alter_column('bugs', 'target_milestone',
- {TYPE => 'varchar(20)', NOTNULL => 1, DEFAULT => "'---'"});
- $dbh->bz_alter_column('milestones', 'value',
- {TYPE => 'varchar(20)', NOTNULL => 1});
-
_add_products_defaultmilestone();
# 2000-03-24 Added unique indexes into the cc and keyword tables. This
$dbh->bz_add_index('profile_search', 'profile_search_user_id_idx', [qw(user_id)]);
}
+ # 2012-03-23 LpSolit@gmail.com - Bug 448551
+ $dbh->bz_alter_column('bugs', 'target_milestone',
+ {TYPE => 'varchar(64)', NOTNULL => 1, DEFAULT => "'---'"});
+
+ $dbh->bz_alter_column('milestones', 'value', {TYPE => 'varchar(64)', NOTNULL => 1});
+
+ $dbh->bz_alter_column('products', 'defaultmilestone',
+ {TYPE => 'varchar(64)', NOTNULL => 1, DEFAULT => "'---'"});
+
################################################################
# New --TABLE-- changes should go *** A B O V E *** this point #
################################################################
<table border="0" cellpadding="4" cellspacing="0">
<tr>
<th align="right"><label for="milestone">Milestone:</label></th>
- <td><input id="milestone" size="20" maxlength="20" name="milestone"
+ <td><input id="milestone" size="64" maxlength="64" name="milestone"
value=""></td>
</tr>
<tr>
<tr>
<th class="field_label"><label for="milestone">Milestone:</label></th>
- <td><input id="milestone" size="20" maxlength="20" name="milestone" value="
+ <td><input id="milestone" size="64" maxlength="64" name="milestone" value="
[%- milestone.name FILTER html %]"></td>
</tr>
<tr>
[% END %]
</select>
[% ELSE %]
- <input type="text" size="20" maxlength="20" name="defaultmilestone"
+ <input type="text" size="64" maxlength="64" name="defaultmilestone"
value="[% product.defaultmilestone FILTER html %]">
[% END %]
</td>