]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 519032: Remove the unused "last_viewed" column from the "series" DB table - Patch...
authorlpsolit%gmail.com <>
Mon, 28 Sep 2009 09:04:38 +0000 (09:04 +0000)
committerlpsolit%gmail.com <>
Mon, 28 Sep 2009 09:04:38 +0000 (09:04 +0000)
Bugzilla/DB/Schema.pm
Bugzilla/Install/DB.pm

index 5e8c49ccf514df7f54db3bc3ccac752f5390697e..2bd95d5012fd5ff39ca5263f5e5b101b1bd29ef9 100644 (file)
@@ -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'},
index 99e5b98957e9ec74f524d72246936195d2bd7af7..e6b577526cadab55f5c2d8f2b2c130082fdcb958 100644 (file)
@@ -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 #
     ################################################################