Commit 19272549 authored by mkanat%bugzilla.org's avatar mkanat%bugzilla.org

Bug 350244: profiles.disabledtext has its definition changed every time checksetup runs

Patch By Max Kanat-Alexander <mkanat@bugzilla.org> (module owner) a=myk
parent 011c5c09
......@@ -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'});
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment