From 87764a50cf08f33008a0f83d91b4d807643db67c Mon Sep 17 00:00:00 2001
From: Andrew Dolgov <fox@madoka.volgo-balt.ru>
Date: Fri, 23 Nov 2012 13:22:34 +0400
Subject: implement ttrss_feeds.cache_content

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

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

diff --git a/schema/versions/pgsql/99.sql b/schema/versions/pgsql/99.sql
new file mode 100644
index 000000000..846056cd6
--- /dev/null
+++ b/schema/versions/pgsql/99.sql
@@ -0,0 +1,12 @@
+begin;
+
+alter table ttrss_feeds add column cache_content boolean;
+update ttrss_feeds set cache_content = false;
+alter table ttrss_feeds alter column cache_content set not null;
+alter table ttrss_feeds alter column cache_content set default false;
+
+alter table ttrss_entries add column cached_content text;
+
+update ttrss_version set schema_version = 99;
+
+commit;
-- 
cgit v1.2.3

