mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-15 16:55:57 +00:00
ttrss_filters: add tag action (2)
This commit is contained in:
@@ -147,7 +147,7 @@ insert into ttrss_filter_actions (id,name,description) values (3, 'mark',
|
|||||||
'Set starred');
|
'Set starred');
|
||||||
|
|
||||||
insert into ttrss_filter_actions (id,name,description) values (4, 'tag',
|
insert into ttrss_filter_actions (id,name,description) values (4, 'tag',
|
||||||
'Assign tag');
|
'Assign tags');
|
||||||
|
|
||||||
create table ttrss_filters (id integer not null primary key auto_increment,
|
create table ttrss_filters (id integer not null primary key auto_increment,
|
||||||
owner_uid integer not null,
|
owner_uid integer not null,
|
||||||
|
|||||||
@@ -141,7 +141,7 @@ insert into ttrss_filter_actions (id,name,description) values (3, 'mark',
|
|||||||
'Set starred');
|
'Set starred');
|
||||||
|
|
||||||
insert into ttrss_filter_actions (id,name,description) values (4, 'tag',
|
insert into ttrss_filter_actions (id,name,description) values (4, 'tag',
|
||||||
'Assign tag');
|
'Assign tags');
|
||||||
|
|
||||||
create table ttrss_filters (id serial not null primary key,
|
create table ttrss_filters (id serial not null primary key,
|
||||||
owner_uid integer not null references ttrss_users(id) on delete cascade,
|
owner_uid integer not null references ttrss_users(id) on delete cascade,
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ alter table ttrss_filters change action_param action_param varchar(200) not null
|
|||||||
alter table ttrss_filters alter column action_param set default '';
|
alter table ttrss_filters alter column action_param set default '';
|
||||||
|
|
||||||
insert into ttrss_filter_actions (id,name,description) values (4, 'tag',
|
insert into ttrss_filter_actions (id,name,description) values (4, 'tag',
|
||||||
'Assign tag');
|
'Assign tags');
|
||||||
|
|
||||||
update ttrss_version set schema_version = 12;
|
update ttrss_version set schema_version = 12;
|
||||||
|
|
||||||
|
|||||||
@@ -8,7 +8,7 @@ alter table ttrss_filters alter column action_param set not null;
|
|||||||
alter table ttrss_filters alter column action_param set default '';
|
alter table ttrss_filters alter column action_param set default '';
|
||||||
|
|
||||||
insert into ttrss_filter_actions (id,name,description) values (4, 'tag',
|
insert into ttrss_filter_actions (id,name,description) values (4, 'tag',
|
||||||
'Assign tag');
|
'Assign tags');
|
||||||
|
|
||||||
update ttrss_version set schema_version = 12;
|
update ttrss_version set schema_version = 12;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user