insert into ttrss_filter_actions (id,name,description) values (4, 'tag',
'Assign tags');
+insert into ttrss_filter_actions (id,name,description) values (5, 'publish',
+ 'Publish article');
+
create table ttrss_filters (id integer not null primary key auto_increment,
owner_uid integer not null,
feed_id integer default null,
insert into ttrss_filter_actions (id,name,description) values (4, 'tag',
'Assign tags');
+insert into ttrss_filter_actions (id,name,description) values (5, 'publish',
+ 'Publish article');
+
create table ttrss_filters (id serial not null primary key,
owner_uid integer not null references ttrss_users(id) on delete cascade,
feed_id integer references ttrss_feeds(id) on delete cascade default null,
alter table ttrss_user_entries change published published bool not null;
alter table ttrss_user_entries alter column published set default false;
+insert into ttrss_filter_actions (id,name,description) values (5, 'publish',
+ 'Publish article');
+
update ttrss_version set schema_version = 19;
alter table ttrss_user_entries alter column published set not null;
alter table ttrss_user_entries alter column published set default false;
+insert into ttrss_filter_actions (id,name,description) values (5, 'publish',
+ 'Publish article');
+
update ttrss_version set schema_version = 19;