diff options
author | Andrew Dolgov <[email protected]> | 2006-09-29 08:50:02 +0100 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2006-09-29 08:50:02 +0100 |
commit | f698dd2796650c726e6355ba81901f90c9fa35d2 (patch) | |
tree | c0a3e6318306000c4fb18365640200433319983c /schema/obsolete/upgrade-1.2.2-1.2.3-pgsql.sql | |
parent | b6adf03955884cfb05021161ca1f9f47cfbddbed (diff) |
schema: move out old upgrade files
Diffstat (limited to 'schema/obsolete/upgrade-1.2.2-1.2.3-pgsql.sql')
-rw-r--r-- | schema/obsolete/upgrade-1.2.2-1.2.3-pgsql.sql | 12 |
1 files changed, 12 insertions, 0 deletions
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; + |