diff options
author | mkanat%bugzilla.org <> | 2006-08-26 05:10:38 +0000 |
---|---|---|
committer | mkanat%bugzilla.org <> | 2006-08-26 05:10:38 +0000 |
commit | 3120e71d44a272228c0393bfe8be3d4653f2cd82 (patch) | |
tree | a867f3d272e48f1aec5dbbef3d530e5f4cd80ae7 /Bugzilla/Install/DB.pm | |
parent | 3f868ed5858dec2b8523c2997c2ebbb2f379cc7a (diff) | |
download | bugs-3120e71d44a272228c0393bfe8be3d4653f2cd82.tar bugs-3120e71d44a272228c0393bfe8be3d4653f2cd82.tar.gz bugs-3120e71d44a272228c0393bfe8be3d4653f2cd82.tar.bz2 bugs-3120e71d44a272228c0393bfe8be3d4653f2cd82.tar.xz bugs-3120e71d44a272228c0393bfe8be3d4653f2cd82.zip |
Bug 349349: Use ->create from Bugzilla::Object instead of insert_new_user for Bugzilla::User
Patch By Max Kanat-Alexander <mkanat@bugzilla.org> r=LpSolit, a=myk
Diffstat (limited to 'Bugzilla/Install/DB.pm')
-rw-r--r-- | Bugzilla/Install/DB.pm | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Bugzilla/Install/DB.pm b/Bugzilla/Install/DB.pm index bf1fbcccf..06c46e1ec 100644 --- a/Bugzilla/Install/DB.pm +++ b/Bugzilla/Install/DB.pm @@ -485,6 +485,12 @@ sub update_table_definitions { $dbh->bz_add_index('bugs', 'bugs_short_desc_idx', [qw(short_desc)]); } + # The profiles table was missing some defaults. + $dbh->bz_alter_column('profiles', 'disabledtext', + {TYPE => 'MEDIUMTEXT', NOTNULL => 1, DEFAULT => "''"}); + $dbh->bz_alter_column('profiles', 'realname', + {TYPE => 'varchar(255)', NOTNULL => 1, DEFAULT => "''"}); + ################################################################ # New --TABLE-- changes should go *** A B O V E *** this point # ################################################################ |