diff options
author | Andrew Dolgov <[email protected]> | 2005-11-21 14:11:16 +0100 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2005-11-21 14:11:16 +0100 |
commit | 2bbd16b94779c904c65751858d91cc93bc251e8e (patch) | |
tree | 424da68cd9bf3876e79d041920bc1182eafcd9fe /schema/ttrss_schema_pgsql.sql | |
parent | 3a933f22b1c0107e240327c9f9ceae1881920d6a (diff) |
per-feed filters in schema
Diffstat (limited to 'schema/ttrss_schema_pgsql.sql')
-rw-r--r-- | schema/ttrss_schema_pgsql.sql | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/schema/ttrss_schema_pgsql.sql b/schema/ttrss_schema_pgsql.sql index f7461d902..99174558c 100644 --- a/schema/ttrss_schema_pgsql.sql +++ b/schema/ttrss_schema_pgsql.sql @@ -81,8 +81,9 @@ insert into ttrss_filter_types (id,name,description) values (3, 'both', insert into ttrss_filter_types (id,name,description) values (4, 'link', 'Link'); -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, + feed_id integer references ttrss_filters(id) on delete cascade default null, filter_type integer not null references ttrss_filter_types(id), reg_exp varchar(250) not null, description varchar(250) not null default ''); |