From 25ea280502fbb0fb7fc51f355df8fc644dfc994d Mon Sep 17 00:00:00 2001
From: Andrew Dolgov <fox@madoka.volgo-balt.ru>
Date: Wed, 27 Oct 2010 12:05:20 +0400
Subject: add ttrss_entries.date_updated; use date_updated instead of
 date_enered for expiry checking (bump schema)

---
 schema/ttrss_schema_mysql.sql | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

(limited to 'schema/ttrss_schema_mysql.sql')

diff --git a/schema/ttrss_schema_mysql.sql b/schema/ttrss_schema_mysql.sql
index 0f4acf900..84eb985d1 100644
--- a/schema/ttrss_schema_mysql.sql
+++ b/schema/ttrss_schema_mysql.sql
@@ -134,6 +134,7 @@ create table ttrss_entries (id integer not null primary key auto_increment,
 	content_hash varchar(250) not null,
 	no_orig_date bool not null default 0,
 	date_entered datetime not null,
+	date_updated datetime not null,
 	num_comments integer not null default 0,
 	comments varchar(250) not null default '',
 	author varchar(250) not null default '') TYPE=InnoDB;
@@ -240,7 +241,7 @@ create table ttrss_tags (id integer primary key auto_increment,
 
 create table ttrss_version (schema_version int not null) TYPE=InnoDB;
 
-insert into ttrss_version values (66);
+insert into ttrss_version values (67);
 
 create table ttrss_enclosures (id integer primary key auto_increment,
 	content_url text not null,
-- 
cgit v1.2.3-54-g00ecf

