diff options
Diffstat (limited to 'Bugzilla')
-rw-r--r-- | Bugzilla/Bug.pm | 2 | ||||
-rw-r--r-- | Bugzilla/DB/Schema.pm | 2 | ||||
-rw-r--r-- | Bugzilla/Install/DB.pm | 3 |
3 files changed, 5 insertions, 2 deletions
diff --git a/Bugzilla/Bug.pm b/Bugzilla/Bug.pm index 39a0f2596..90a9f96bb 100644 --- a/Bugzilla/Bug.pm +++ b/Bugzilla/Bug.pm @@ -1423,7 +1423,7 @@ sub _check_alias { return undef if (!Bugzilla->params->{'usebugaliases'} || !$alias); # Make sure the alias isn't too long. - if (length($alias) > 20) { + if (length($alias) > 40) { ThrowUserError("alias_too_long"); } # Make sure the alias isn't just a number. diff --git a/Bugzilla/DB/Schema.pm b/Bugzilla/DB/Schema.pm index be392c105..6d7648a3d 100644 --- a/Bugzilla/DB/Schema.pm +++ b/Bugzilla/DB/Schema.pm @@ -295,7 +295,7 @@ use constant ABSTRACT_SCHEMA => { remaining_time => {TYPE => 'decimal(7,2)', NOTNULL => 1, DEFAULT => '0'}, deadline => {TYPE => 'DATETIME'}, - alias => {TYPE => 'varchar(20)'}, + alias => {TYPE => 'varchar(40)'}, ], INDEXES => [ bugs_alias_idx => {FIELDS => ['alias'], diff --git a/Bugzilla/Install/DB.pm b/Bugzilla/Install/DB.pm index 4fb1f1c83..040be6630 100644 --- a/Bugzilla/Install/DB.pm +++ b/Bugzilla/Install/DB.pm @@ -711,6 +711,9 @@ sub update_table_definitions { 'bug_user_last_visit_last_visit_ts_idx', ['last_visit_ts']); + # 2014-10-?? dkl@mozilla.com - Bug 1062940 + $dbh->bz_alter_column('bugs', 'alias', { TYPE => 'varchar(40)' }); + ################################################################ # New --TABLE-- changes should go *** A B O V E *** this point # ################################################################ |