From 7f123cdab43e1d8087481958155304dac5fd2c64 Mon Sep 17 00:00:00 2001
From: Andrew Dolgov <fox@bah.spb.su>
Date: Thu, 5 Jan 2006 16:12:40 +0100
Subject: new option: HIDE_READ_FEEDS (+ pref setting RPC calls) (closes #23)

---
 schema/upgrade-1.1.1-1.1.2-pgsql.sql | 2 ++
 1 file changed, 2 insertions(+)

(limited to 'schema/upgrade-1.1.1-1.1.2-pgsql.sql')

diff --git a/schema/upgrade-1.1.1-1.1.2-pgsql.sql b/schema/upgrade-1.1.1-1.1.2-pgsql.sql
index 960ed8b64..1f926eaeb 100644
--- a/schema/upgrade-1.1.1-1.1.2-pgsql.sql
+++ b/schema/upgrade-1.1.1-1.1.2-pgsql.sql
@@ -10,6 +10,8 @@ update ttrss_feeds set private = false;
 alter table ttrss_feeds alter column private set not null;
 alter table ttrss_feeds alter column private set default false;
 
+insert into ttrss_prefs (pref_name,type_id,def_value,short_desc,section_id) values('HIDE_READ_FEEDS', 1, 'false', 'Hide feeds with no unread messages',2);
+
 update ttrss_version set schema_version = 4;
 
 commit;
-- 
cgit v1.2.3

