From: lpsolit%gmail.com <> Date: Mon, 28 Sep 2009 09:04:38 +0000 (+0000) Subject: Bug 519032: Remove the unused "last_viewed" column from the "series" DB table - Patch... X-Git-Tag: bugzilla-3.5.1~55 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c3da6d79ec37bb8c800beaa451cd1ed87d619c99;p=thirdparty%2Fbugzilla.git Bug 519032: Remove the unused "last_viewed" column from the "series" DB table - Patch by Frédéric Buclin r/a=mkanat --- diff --git a/Bugzilla/DB/Schema.pm b/Bugzilla/DB/Schema.pm index 5e8c49ccf5..2bd95d5012 100644 --- a/Bugzilla/DB/Schema.pm +++ b/Bugzilla/DB/Schema.pm @@ -1259,7 +1259,6 @@ use constant ABSTRACT_SCHEMA => { DELETE => 'CASCADE'}}, name => {TYPE => 'varchar(64)', NOTNULL => 1}, frequency => {TYPE => 'INT2', NOTNULL => 1}, - last_viewed => {TYPE => 'DATETIME'}, query => {TYPE => 'MEDIUMTEXT', NOTNULL => 1}, is_public => {TYPE => 'BOOLEAN', NOTNULL => 1, DEFAULT => 'FALSE'}, diff --git a/Bugzilla/Install/DB.pm b/Bugzilla/Install/DB.pm index 99e5b98957..e6b577526c 100644 --- a/Bugzilla/Install/DB.pm +++ b/Bugzilla/Install/DB.pm @@ -577,6 +577,9 @@ sub update_table_definitions { { TYPE => 'varchar(255)' }); $dbh->bz_add_index('bugs_activity', 'bugs_activity_added_idx', ['added']); + # 2009-09-28 LpSolit@gmail.com - Bug 519032 + $dbh->bz_drop_column('series', 'last_viewed'); + ################################################################ # New --TABLE-- changes should go *** A B O V E *** this point # ################################################################