1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2026-01-07 01:29:15 +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 boolean;
update ttrss_filters set cat_filter = false;
alter table ttrss_filters alter column cat_filter set 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 constraint "$5" FOREIGN KEY (cat_id) REFERENCES ttrss_feed_categories(id) ON DELETE CASCADE;
update ttrss_version set schema_version = 87;
commit;