From: Andrew Dolgov Date: Wed, 21 Nov 2007 12:33:06 +0000 (+0100) Subject: add schema ver 27 X-Git-Tag: 1.2.18~26 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=092b9ee9294db6d2be440d32a3f3e643ced47ca2;p=tt-rss.git add schema ver 27 --- diff --git a/schema/versions/mysql/27.sql b/schema/versions/mysql/27.sql new file mode 100644 index 00000000..fcd6e850 --- /dev/null +++ b/schema/versions/mysql/27.sql @@ -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 index 00000000..d0baaebc --- /dev/null +++ b/schema/versions/pgsql/27.sql @@ -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;