summaryrefslogtreecommitdiffstats
path: root/Bugzilla
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2009-09-28 11:04:38 +0200
committerlpsolit%gmail.com <>2009-09-28 11:04:38 +0200
commitc3da6d79ec37bb8c800beaa451cd1ed87d619c99 (patch)
tree76b389f8329b05e8208240f385c7519b868012d3 /Bugzilla
parentf8269f0e978f2cf3e0d46b62f40aa322c56e2c85 (diff)
downloadbugzilla-c3da6d79ec37bb8c800beaa451cd1ed87d619c99.tar.gz
bugzilla-c3da6d79ec37bb8c800beaa451cd1ed87d619c99.tar.xz
Bug 519032: Remove the unused "last_viewed" column from the "series" DB table - Patch by Frédéric Buclin <LpSolit@gmail.com> r/a=mkanat
Diffstat (limited to 'Bugzilla')
-rw-r--r--Bugzilla/DB/Schema.pm1
-rw-r--r--Bugzilla/Install/DB.pm3
2 files changed, 3 insertions, 1 deletions
diff --git a/Bugzilla/DB/Schema.pm b/Bugzilla/DB/Schema.pm
index 5e8c49ccf..2bd95d501 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 99e5b9895..e6b577526 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 #
################################################################