From ef32a98bed6dbe5a1b90963c3b2dd21efcc8f545 Mon Sep 17 00:00:00 2001 From: Gervase Markham Date: Mon, 26 Mar 2012 12:12:37 +0100 Subject: Make Target Milestone field have the same maximum length as Version field. r,a=LpSolit. https://bugzilla.mozilla.org/show_bug.cgi?id=448551 --- Bugzilla/DB/Schema.pm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Bugzilla/DB') diff --git a/Bugzilla/DB/Schema.pm b/Bugzilla/DB/Schema.pm index 9267a3fea..4c89b1870 100644 --- a/Bugzilla/DB/Schema.pm +++ b/Bugzilla/DB/Schema.pm @@ -257,7 +257,7 @@ use constant ABSTRACT_SCHEMA => { 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', @@ -748,7 +748,7 @@ use constant ABSTRACT_SCHEMA => { 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, @@ -1288,7 +1288,7 @@ use constant ABSTRACT_SCHEMA => { 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'}, -- cgit v1.2.3-24-g4f1b