summaryrefslogtreecommitdiffstats
path: root/Bugzilla/Install/DB.pm
diff options
context:
space:
mode:
Diffstat (limited to 'Bugzilla/Install/DB.pm')
-rw-r--r--Bugzilla/Install/DB.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/Bugzilla/Install/DB.pm b/Bugzilla/Install/DB.pm
index 3b44f3016..43c81d1dd 100644
--- a/Bugzilla/Install/DB.pm
+++ b/Bugzilla/Install/DB.pm
@@ -2948,8 +2948,9 @@ sub change_text_types {
{ TYPE => 'TINYTEXT', NOTNULL => 1 });
$dbh->bz_alter_column('attachments', 'mimetype',
{ TYPE => 'TINYTEXT', NOTNULL => 1 });
+ # This also changes NULL to NOT NULL.
$dbh->bz_alter_column('flagtypes', 'description',
- { TYPE => 'MEDIUMTEXT', NOTNULL => 1 });
+ { TYPE => 'MEDIUMTEXT', NOTNULL => 1 }, '');
$dbh->bz_alter_column('fielddefs', 'description',
{ TYPE => 'TINYTEXT', NOTNULL => 1 });
$dbh->bz_alter_column('namedqueries', 'query',