summaryrefslogtreecommitdiff
path: root/schema/ttrss_schema_mysql.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_mysql.sql
parentec1f8a3d8ae9e00ea980c1b8f7cef158209be47d (diff)
drop ttrss_filters from the schema
Diffstat (limited to 'schema/ttrss_schema_mysql.sql')
-rw-r--r--schema/ttrss_schema_mysql.sql24
1 files changed, 0 insertions, 24 deletions
diff --git a/schema/ttrss_schema_mysql.sql b/schema/ttrss_schema_mysql.sql
index 0d3358748..9239ef397 100644
--- a/schema/ttrss_schema_mysql.sql
+++ b/schema/ttrss_schema_mysql.sql
@@ -13,7 +13,6 @@ drop table if exists ttrss_labels;
drop table if exists ttrss_filters2_actions;
drop table if exists ttrss_filters2_rules;
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;
@@ -247,29 +246,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 integer not null primary key auto_increment,
- owner_uid integer not null,
- feed_id integer default null,
- filter_type integer not null,
- reg_exp varchar(250) not null,
- filter_param varchar(250) not null default '',
- inverse bool not null default false,
- enabled bool not null default true,
- cat_filter bool not null default false,
- cat_id integer default null,
- action_id integer not null default 1,
- action_param varchar(250) not null default '',
- index (filter_type),
- foreign key (filter_type) references ttrss_filter_types(id) ON DELETE CASCADE,
- index (owner_uid),
- foreign key (owner_uid) references ttrss_users(id) ON DELETE CASCADE,
- index (feed_id),
- foreign key (feed_id) references ttrss_feeds(id) ON DELETE CASCADE,
- index (cat_id),
- foreign key (cat_id) references ttrss_feed_categories(id) ON DELETE CASCADE,
- index (action_id),
- foreign key (action_id) references ttrss_filter_actions(id) ON DELETE CASCADE) ENGINE=InnoDB DEFAULT CHARSET=UTF8;
-
create table ttrss_filters2(id integer primary key auto_increment,
owner_uid integer not null,
match_any_rule boolean not null default false,