add upgrade schema files for 1.2.3, new option: DIGEST_ENABLE
This commit is contained in:
parent
8fb018809f
commit
9a61ce6d20
5 changed files with 15 additions and 0 deletions
|
@ -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,
|
||||
|
|
3
schema/upgrade-1.2.2-1.2.3-mysql.sql
Normal file
3
schema/upgrade-1.2.2-1.2.3-mysql.sql
Normal 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');
|
||||
|
3
schema/upgrade-1.2.2-1.2.3-pgsql.sql
Normal file
3
schema/upgrade-1.2.2-1.2.3-pgsql.sql
Normal 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');
|
||||
|
Loading…
Reference in a new issue