From f698dd2796650c726e6355ba81901f90c9fa35d2 Mon Sep 17 00:00:00 2001
From: Andrew Dolgov <fox@madoka.spb.ru>
Date: Fri, 29 Sep 2006 08:50:02 +0100
Subject: schema: move out old upgrade files

---
 schema/obsolete/upgrade-1.2.2-1.2.3-pgsql.sql | 12 ++++++++++++
 1 file changed, 12 insertions(+)
 create mode 100644 schema/obsolete/upgrade-1.2.2-1.2.3-pgsql.sql

(limited to 'schema/obsolete/upgrade-1.2.2-1.2.3-pgsql.sql')

diff --git a/schema/obsolete/upgrade-1.2.2-1.2.3-pgsql.sql b/schema/obsolete/upgrade-1.2.2-1.2.3-pgsql.sql
new file mode 100644
index 000000000..764b4b763
--- /dev/null
+++ b/schema/obsolete/upgrade-1.2.2-1.2.3-pgsql.sql
@@ -0,0 +1,12 @@
+insert into ttrss_prefs (pref_name,type_id,def_value,short_desc,section_id,help_text) values('DIGEST_ENABLE', 1, 'false', 'Enable e-mail digest',1,
+'This option enables sending daily digest of new (and unread) headlines on your configured e-mail address');
+
+alter table ttrss_feeds add column include_in_digest boolean;
+update ttrss_feeds set include_in_digest = true;
+alter table ttrss_feeds alter column include_in_digest set not null;
+alter table ttrss_feeds alter column include_in_digest set default true;
+
+insert into ttrss_prefs (pref_name,type_id,def_value,short_desc,section_id) values('CONFIRM_FEED_CATCHUP', 1, 'true', 'Confirm marking feed as read',3);
+
+update ttrss_version set schema_version = 10;
+
-- 
cgit v1.2.3-54-g00ecf

