1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-26 14:11:28 +00:00

implement filtering by category (closes #386)

This commit is contained in:
Andrew Dolgov
2011-12-27 12:52:33 +04:00
parent b69a09ea07
commit ba975b2ec7
10 changed files with 144 additions and 20 deletions

View File

@@ -0,0 +1,14 @@
begin;
alter table ttrss_filters add column cat_filter bool;
update ttrss_filters set cat_filter = true;
alter table ttrss_filters change cat_filter cat_filter bool not null;
alter table ttrss_filters alter column cat_filter set default false;
alter table ttrss_filters add column cat_id integer;
alter table ttrss_filters add FOREIGN KEY (cat_id) REFERENCES ttrss_feed_categories(id) ON DELETE CASCADE;
update ttrss_version set schema_version = 87;
commit;