Commit c988473a authored by Dave Lawrence's avatar Dave Lawrence

Bug 762288 - Change bugs_activity.removed to match data type of bugs_activity.added

r/a=LpSolit
parent 5b3ea4d4
......@@ -338,7 +338,7 @@ use constant ABSTRACT_SCHEMA => {
REFERENCES => {TABLE => 'fielddefs',
COLUMN => 'id'}},
added => {TYPE => 'varchar(255)'},
removed => {TYPE => 'TINYTEXT'},
removed => {TYPE => 'varchar(255)'},
comment_id => {TYPE => 'INT3',
REFERENCES => { TABLE => 'longdescs',
COLUMN => 'comment_id',
......@@ -350,6 +350,7 @@ use constant ABSTRACT_SCHEMA => {
bugs_activity_bug_when_idx => ['bug_when'],
bugs_activity_fieldid_idx => ['fieldid'],
bugs_activity_added_idx => ['added'],
bugs_activity_removed_idx => ['removed'],
],
},
......
......@@ -673,6 +673,11 @@ sub update_table_definitions {
# 2012-04-15 Frank@Frank-Becker.de - Bug 740536
$dbh->bz_add_index('audit_log', 'audit_log_class_idx', ['class', 'at_time']);
# 2012-06-06 dkl@mozilla.com - Bug 762288
$dbh->bz_alter_column('bugs_activity', 'removed',
{ TYPE => 'varchar(255)' });
$dbh->bz_add_index('bugs_activity', 'bugs_activity_removed_idx', ['removed']);
################################################################
# New --TABLE-- changes should go *** A B O V E *** this point #
################################################################
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment