From de696427ad56edeb2dd982e41eda1e6e43e1062c Mon Sep 17 00:00:00 2001
From: Andrew Dolgov <fox@bah.spb.su>
Date: Sat, 11 Feb 2006 14:52:17 +0100
Subject: initial work on update daemon

---
 schema/ttrss_schema_mysql.sql | 9 ++++++++-
 1 file changed, 8 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 8b62cd837..8bfd48860 100644
--- a/schema/ttrss_schema_mysql.sql
+++ b/schema/ttrss_schema_mysql.sql
@@ -170,7 +170,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 (4);
+insert into ttrss_version values (5);
 
 create table ttrss_prefs_types (id integer not null primary key, 
 	type_name varchar(100) not null) TYPE=InnoDB;
@@ -246,4 +246,11 @@ create table ttrss_user_prefs (
 	index (pref_name),
 	foreign key (pref_name) references ttrss_prefs(pref_name) ON DELETE CASCADE) TYPE=InnoDB;
 
+create table ttrss_scheduled_updates (id integer not null primary key auto_increment,
+	owner_uid integer not null,
+	feed_id integer default null,
+	entered datetime not null,
+	foreign key (owner_uid) references ttrss_users(id) ON DELETE CASCADE,
+	foreign key (feed_id) references ttrss_feeds(id) ON DELETE CASCADE) TYPE=InnoDB;
+
 commit;
-- 
cgit v1.2.3-54-g00ecf

