aboutsummaryrefslogtreecommitdiffstats
path: root/Bugzilla/DB
diff options
context:
space:
mode:
authorFrédéric Buclin <LpSolit@gmail.com>2011-12-19 19:52:52 +0100
committerFrédéric Buclin <LpSolit@gmail.com>2011-12-19 19:52:52 +0100
commite647ec0703c903e4f64fad385ff39465f6f83ce0 (patch)
treecffa43af96d2be52ca6b093e667100340e5faa2a /Bugzilla/DB
parentb8ddbf70530669fb0fe15c9cfc36050344e1ebff (diff)
downloadbugs-e647ec0703c903e4f64fad385ff39465f6f83ce0.tar
bugs-e647ec0703c903e4f64fad385ff39465f6f83ce0.tar.gz
bugs-e647ec0703c903e4f64fad385ff39465f6f83ce0.tar.bz2
bugs-e647ec0703c903e4f64fad385ff39465f6f83ce0.tar.xz
bugs-e647ec0703c903e4f64fad385ff39465f6f83ce0.zip
Bug 711925: Update from 4.0 or older to 4.2 or trunk fails when bug_see_also field is populated
r=wicked a=LpSolit
Diffstat (limited to 'Bugzilla/DB')
-rw-r--r--Bugzilla/DB/Schema.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/Bugzilla/DB/Schema.pm b/Bugzilla/DB/Schema.pm
index 3a317029b..83271bd56 100644
--- a/Bugzilla/DB/Schema.pm
+++ b/Bugzilla/DB/Schema.pm
@@ -502,7 +502,7 @@ use constant ABSTRACT_SCHEMA => {
COLUMN => 'bug_id',
DELETE => 'CASCADE'}},
value => {TYPE => 'varchar(255)', NOTNULL => 1},
- class => {TYPE => 'varchar(255)', NOTNULL => 1},
+ class => {TYPE => 'varchar(255)', NOTNULL => 1, DEFAULT => "''"},
],
INDEXES => [
bug_see_also_bug_id_idx => {FIELDS => [qw(bug_id value)],