mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 16:05:56 +00:00
implement stop action
This commit is contained in:
@@ -246,6 +246,9 @@ insert into ttrss_filter_actions (id,name,description) values (6, 'score',
|
||||
insert into ttrss_filter_actions (id,name,description) values (7, 'label',
|
||||
'Assign label');
|
||||
|
||||
insert into ttrss_filter_actions (id,name,description) values (8, 'stop',
|
||||
'Stop / Do nothing');
|
||||
|
||||
create table ttrss_filters2(id integer primary key auto_increment,
|
||||
owner_uid integer not null,
|
||||
match_any_rule boolean not null default false,
|
||||
@@ -293,7 +296,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 (112);
|
||||
insert into ttrss_version values (113);
|
||||
|
||||
create table ttrss_enclosures (id integer primary key auto_increment,
|
||||
content_url text not null,
|
||||
|
||||
@@ -219,6 +219,9 @@ insert into ttrss_filter_actions (id,name,description) values (6, 'score',
|
||||
insert into ttrss_filter_actions (id,name,description) values (7, 'label',
|
||||
'Assign label');
|
||||
|
||||
insert into ttrss_filter_actions (id,name,description) values (8, 'stop',
|
||||
'Stop / Do nothing');
|
||||
|
||||
create table ttrss_filters2(id serial not null primary key,
|
||||
owner_uid integer not null references ttrss_users(id) on delete cascade,
|
||||
match_any_rule boolean not null default false,
|
||||
@@ -251,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 (112);
|
||||
insert into ttrss_version values (113);
|
||||
|
||||
create table ttrss_enclosures (id serial not null primary key,
|
||||
content_url text not null,
|
||||
|
||||
8
schema/versions/mysql/113.sql
Normal file
8
schema/versions/mysql/113.sql
Normal file
@@ -0,0 +1,8 @@
|
||||
begin;
|
||||
|
||||
insert into ttrss_filter_actions (id,name,description) values (8, 'stop',
|
||||
'Stop / Do nothing');
|
||||
|
||||
update ttrss_version set schema_version = 113;
|
||||
|
||||
commit;
|
||||
8
schema/versions/pgsql/113.sql
Normal file
8
schema/versions/pgsql/113.sql
Normal file
@@ -0,0 +1,8 @@
|
||||
begin;
|
||||
|
||||
insert into ttrss_filter_actions (id,name,description) values (8, 'stop',
|
||||
'Stop / Do nothing');
|
||||
|
||||
update ttrss_version set schema_version = 113;
|
||||
|
||||
commit;
|
||||
Reference in New Issue
Block a user