mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 13:55:55 +00:00
add ability to auto-assign articles to labels (bump schema)
This commit is contained in:
@@ -306,7 +306,7 @@ create table ttrss_tags (id integer primary key auto_increment,
|
||||
|
||||
create table ttrss_version (schema_version int not null) ENGINE=InnoDB DEFAULT CHARSET=UTF8;
|
||||
|
||||
insert into ttrss_version values (97);
|
||||
insert into ttrss_version values (98);
|
||||
|
||||
create table ttrss_enclosures (id integer primary key auto_increment,
|
||||
content_url text not null,
|
||||
@@ -448,12 +448,15 @@ 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('_DEFAULT_INCLUDE_CHILDREN', 1, 'false', '', 1);
|
||||
|
||||
insert into ttrss_prefs (pref_name,type_id,def_value,short_desc,section_id) values('AUTO_ASSIGN_LABELS', 1, 'true', 'Assign articles to labels automatically', 3);
|
||||
|
||||
update ttrss_prefs set access_level = 1 where pref_name in ('ON_CATCHUP_SHOW_NEXT_FEED',
|
||||
'SORT_HEADLINES_BY_FEED_DATE',
|
||||
'VFEED_GROUP_BY_FEED',
|
||||
'FRESH_ARTICLE_MAX_AGE',
|
||||
'CDM_EXPANDED',
|
||||
'SHOW_CONTENT_PREVIEW',
|
||||
'AUTO_ASSIGN_LABELS',
|
||||
'HIDE_READ_SHOWS_SPECIAL');
|
||||
|
||||
create table ttrss_user_prefs (
|
||||
|
||||
@@ -254,7 +254,7 @@ create index ttrss_tags_post_int_id_idx on ttrss_tags(post_int_id);
|
||||
|
||||
create table ttrss_version (schema_version int not null);
|
||||
|
||||
insert into ttrss_version values (97);
|
||||
insert into ttrss_version values (98);
|
||||
|
||||
create table ttrss_enclosures (id serial not null primary key,
|
||||
content_url text not null,
|
||||
@@ -388,12 +388,15 @@ 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('_DEFAULT_INCLUDE_CHILDREN', 1, 'false', '', 1);
|
||||
|
||||
insert into ttrss_prefs (pref_name,type_id,def_value,short_desc,section_id) values('AUTO_ASSIGN_LABELS', 1, 'true', 'Assign articles to labels automatically', 3);
|
||||
|
||||
update ttrss_prefs set access_level = 1 where pref_name in ('ON_CATCHUP_SHOW_NEXT_FEED',
|
||||
'SORT_HEADLINES_BY_FEED_DATE',
|
||||
'VFEED_GROUP_BY_FEED',
|
||||
'FRESH_ARTICLE_MAX_AGE',
|
||||
'CDM_EXPANDED',
|
||||
'SHOW_CONTENT_PREVIEW',
|
||||
'AUTO_ASSIGN_LABELS',
|
||||
'HIDE_READ_SHOWS_SPECIAL');
|
||||
|
||||
create table ttrss_user_prefs (
|
||||
|
||||
7
schema/versions/mysql/98.sql
Normal file
7
schema/versions/mysql/98.sql
Normal file
@@ -0,0 +1,7 @@
|
||||
begin;
|
||||
|
||||
insert into ttrss_prefs (pref_name,type_id,def_value,short_desc,section_id,access_level) values('AUTO_ASSIGN_LABELS', 1, 'true', 'Assign articles to labels automatically', 3, 1);
|
||||
|
||||
update ttrss_version set schema_version = 98;
|
||||
|
||||
commit;
|
||||
7
schema/versions/pgsql/98.sql
Normal file
7
schema/versions/pgsql/98.sql
Normal file
@@ -0,0 +1,7 @@
|
||||
begin;
|
||||
|
||||
insert into ttrss_prefs (pref_name,type_id,def_value,short_desc,section_id,access_level) values('AUTO_ASSIGN_LABELS', 1, 'true', 'Assign articles to labels automatically', 3, 1);
|
||||
|
||||
update ttrss_version set schema_version = 98;
|
||||
|
||||
commit;
|
||||
Reference in New Issue
Block a user