From 4bc760da51ebb36a13edf8b34d3efee0276abaf6 Mon Sep 17 00:00:00 2001
From: Andrew Dolgov <fox@madoka.spb.ru>
Date: Sun, 26 Feb 2006 07:39:09 +0100
Subject: add author column to ttrss_entries, add upgrade script for 1.1.4,
 bump schema version

---
 schema/obsolete/upgrade-1.1.2-1.1.3-mysql.sql | 12 ++++++++++++
 1 file changed, 12 insertions(+)
 create mode 100644 schema/obsolete/upgrade-1.1.2-1.1.3-mysql.sql

(limited to 'schema/obsolete/upgrade-1.1.2-1.1.3-mysql.sql')

diff --git a/schema/obsolete/upgrade-1.1.2-1.1.3-mysql.sql b/schema/obsolete/upgrade-1.1.2-1.1.3-mysql.sql
new file mode 100644
index 000000000..e3ddb0357
--- /dev/null
+++ b/schema/obsolete/upgrade-1.1.2-1.1.3-mysql.sql
@@ -0,0 +1,12 @@
+begin;
+
+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;
+
+update ttrss_version set schema_version = 5;
+
+commit;
-- 
cgit v1.2.3

