summaryrefslogtreecommitdiff
path: root/schema/ttrss_schema_pgsql.sql
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2013-03-25 20:22:29 +0400
committerAndrew Dolgov <[email protected]>2013-03-25 20:22:34 +0400
commitb6274383ed8aff7b50106c0fc69c5cfdfc30c76e (patch)
treeab7b0549264f8fcfdc405439186addb16f9054c7 /schema/ttrss_schema_pgsql.sql
parentec1f8a3d8ae9e00ea980c1b8f7cef158209be47d (diff)
drop ttrss_filters from the schema
Diffstat (limited to 'schema/ttrss_schema_pgsql.sql')
-rw-r--r--schema/ttrss_schema_pgsql.sql14
1 files changed, 0 insertions, 14 deletions
diff --git a/schema/ttrss_schema_pgsql.sql b/schema/ttrss_schema_pgsql.sql
index 895c7e0f4..6b470ca33 100644
--- a/schema/ttrss_schema_pgsql.sql
+++ b/schema/ttrss_schema_pgsql.sql
@@ -10,7 +10,6 @@ drop table if exists ttrss_labels;
drop table if exists ttrss_filters2_rules;
drop table if exists ttrss_filters2_actions;
drop table if exists ttrss_filters2;
-drop table if exists ttrss_filters;
drop table if exists ttrss_filter_types;
drop table if exists ttrss_filter_actions;
drop table if exists ttrss_user_prefs;
@@ -220,19 +219,6 @@ insert into ttrss_filter_actions (id,name,description) values (6, 'score',
insert into ttrss_filter_actions (id,name,description) values (7, 'label',
'Assign label');
-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,
- filter_type integer not null references ttrss_filter_types(id),
- reg_exp varchar(250) not null,
- filter_param varchar(250) not null default '',
- enabled boolean not null default true,
- inverse boolean not null default false,
- cat_filter boolean not null default false,
- cat_id integer references ttrss_feed_categories(id) on delete cascade default null,
- action_id integer not null default 1 references ttrss_filter_actions(id) on delete cascade,
- action_param varchar(250) not null default '');
-
create table ttrss_filters2(id serial not null primary key,
owner_uid integer not null references ttrss_users(id) on delete cascade,
match_any_rule boolean not null default false,