]> git.wh0rd.org Git - tt-rss.git/commitdiff
add schema ver 27
authorAndrew Dolgov <fox@bah.spb.su>
Wed, 21 Nov 2007 12:33:06 +0000 (13:33 +0100)
committerAndrew Dolgov <fox@bah.spb.su>
Wed, 21 Nov 2007 12:33:06 +0000 (13:33 +0100)
schema/versions/mysql/27.sql [new file with mode: 0644]
schema/versions/pgsql/27.sql [new file with mode: 0644]

diff --git a/schema/versions/mysql/27.sql b/schema/versions/mysql/27.sql
new file mode 100644 (file)
index 0000000..fcd6e85
--- /dev/null
@@ -0,0 +1,4 @@
+alter table ttrss_feeds add column last_viewed datetime;
+alter table ttrss_feeds alter column last_viewed set default null;
+
+update ttrss_version set schema_version = 27;
diff --git a/schema/versions/pgsql/27.sql b/schema/versions/pgsql/27.sql
new file mode 100644 (file)
index 0000000..d0baaeb
--- /dev/null
@@ -0,0 +1,4 @@
+alter table ttrss_feeds add column last_viewed timestamp;
+alter table ttrss_feeds alter column last_viewed set default null;
+
+update ttrss_version set schema_version = 27;