add upgrade schema files for 1.2.3, new option: DIGEST_ENABLE

master
Andrew Dolgov 19 years ago
parent 8fb018809f
commit 9a61ce6d20

@ -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).

@ -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),

@ -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,

@ -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');

@ -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');
Loading…
Cancel
Save