add upgrade schema files for 1.2.3, new option: DIGEST_ENABLE

This commit is contained in:
Andrew Dolgov 2006-08-21 07:12:09 +01:00
parent 8fb018809f
commit 9a61ce6d20
5 changed files with 15 additions and 0 deletions

View file

@ -134,6 +134,9 @@
define('USE_CURL_FOR_ICONS', false);
// Fetch favicons using CURL, useful if your PHP has disabled remote fopen()
define('DIGEST_HOSTNAME', 'madoka.spb.ru');
// Hostname for email digest signature
define('CONFIG_VERSION', 4);
// Expected config version. Please update this option in config.php
// if necessary (after migrating all new options from this file).

View file

@ -259,6 +259,9 @@ insert into ttrss_prefs (pref_name,type_id,def_value,short_desc,section_id) valu
insert into ttrss_prefs (pref_name,type_id,def_value,short_desc,section_id) values('REVERSE_HEADLINES', 1, 'false', 'Reverse headline order (oldest first)',2);
insert into ttrss_prefs (pref_name,type_id,def_value,short_desc,section_id,help_text) values('DIGEST_ENABLE', 1, 'false', 'Enable email digest',1,
'This option enables sending daily digest of new (and unread) headlines on your configured e-mail address');
create table ttrss_user_prefs (
owner_uid integer not null,
pref_name varchar(250),

View file

@ -239,6 +239,9 @@ insert into ttrss_prefs (pref_name,type_id,def_value,short_desc,section_id) valu
insert into ttrss_prefs (pref_name,type_id,def_value,short_desc,section_id) values('REVERSE_HEADLINES', 1, 'false', 'Reverse headline order (oldest first)',2);
insert into ttrss_prefs (pref_name,type_id,def_value,short_desc,section_id,help_text) values('DIGEST_ENABLE', 1, 'false', 'Enable email digest',1,
'This option enables sending daily digest of new (and unread) headlines on your configured e-mail address');
create table ttrss_user_prefs (
owner_uid integer not null references ttrss_users(id) ON DELETE CASCADE,
pref_name varchar(250) not null references ttrss_prefs(pref_name) ON DELETE CASCADE,

View file

@ -0,0 +1,3 @@
insert into ttrss_prefs (pref_name,type_id,def_value,short_desc,section_id,help_text) values('DIGEST_ENABLE', 1, 'false', 'Enable email digest',1,
'This option enables sending daily digest of new (and unread) headlines on your configured e-mail address');

View file

@ -0,0 +1,3 @@
insert into ttrss_prefs (pref_name,type_id,def_value,short_desc,section_id,help_text) values('DIGEST_ENABLE', 1, 'false', 'Enable email digest',1,
'This option enables sending daily digest of new (and unread) headlines on your configured e-mail address');