From fecd57c8861ebf5d213e1e85581ae4fc88ee0407 Mon Sep 17 00:00:00 2001
From: Andrew Dolgov <fox@bah.spb.su>
Date: Sat, 24 Feb 2007 17:46:39 +0100
Subject: add new-style schema versions and updater

---
 schema/versions/pgsql/5.sql | 10 ++++++++++
 1 file changed, 10 insertions(+)
 create mode 100644 schema/versions/pgsql/5.sql

(limited to 'schema/versions/pgsql/5.sql')

diff --git a/schema/versions/pgsql/5.sql b/schema/versions/pgsql/5.sql
new file mode 100644
index 000000000..1292daa3c
--- /dev/null
+++ b/schema/versions/pgsql/5.sql
@@ -0,0 +1,10 @@
+begin;
+
+create table ttrss_scheduled_updates (id serial not null primary key,
+	owner_uid integer not null references ttrss_users(id) ON DELETE CASCADE,
+	feed_id integer default null references ttrss_feeds(id) ON DELETE CASCADE,
+	entered timestamp not null default NOW());
+
+update ttrss_version set schema_version = 5;
+
+commit;
-- 
cgit v1.2.3

