diff options
author | mkanat%bugzilla.org <> | 2006-08-26 08:22:29 +0200 |
---|---|---|
committer | mkanat%bugzilla.org <> | 2006-08-26 08:22:29 +0200 |
commit | 192725496a22f2cc37124aecd97748fc5844160c (patch) | |
tree | f8e68bb1370146d9f3d469261226940aada06873 /Bugzilla | |
parent | 011c5c09ce2cc7d09f5af75f86339f0d8889c5ba (diff) | |
download | bugzilla-192725496a22f2cc37124aecd97748fc5844160c.tar.gz bugzilla-192725496a22f2cc37124aecd97748fc5844160c.tar.xz |
Bug 350244: profiles.disabledtext has its definition changed every time checksetup runs
Patch By Max Kanat-Alexander <mkanat@bugzilla.org> (module owner) a=myk
Diffstat (limited to 'Bugzilla')
-rw-r--r-- | Bugzilla/Install/DB.pm | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/Bugzilla/Install/DB.pm b/Bugzilla/Install/DB.pm index adf5b7c30..09aa5c323 100644 --- a/Bugzilla/Install/DB.pm +++ b/Bugzilla/Install/DB.pm @@ -231,8 +231,11 @@ sub update_table_definitions { _update_bugs_activity_to_only_record_changes(); - $dbh->bz_alter_column("profiles", "disabledtext", - {TYPE => 'MEDIUMTEXT', NOTNULL => 1}, ''); + # bug 90933: Make disabledtext NOT NULL + if (!$dbh->bz_column_info('profiles', 'disabledtext')->{NOTNULL}) { + $dbh->bz_alter_column("profiles", "disabledtext", + {TYPE => 'MEDIUMTEXT', NOTNULL => 1}, ''); + } $dbh->bz_add_column("bugs", "reporter_accessible", {TYPE => 'BOOLEAN', NOTNULL => 1, DEFAULT => 'TRUE'}); |