From c0fb0a5ec04c064bb848534185b51c5d1b7bdaaf Mon Sep 17 00:00:00 2001
From: Andrew Dolgov <noreply@fakecake.org>
Date: Thu, 4 Mar 2021 08:30:52 +0300
Subject: wip for db_migrations for core schema

---
 schema/versions/mysql/96.sql | 38 --------------------------------------
 1 file changed, 38 deletions(-)
 delete mode 100644 schema/versions/mysql/96.sql

(limited to 'schema/versions/mysql/96.sql')

diff --git a/schema/versions/mysql/96.sql b/schema/versions/mysql/96.sql
deleted file mode 100644
index 4d4e2445c..000000000
--- a/schema/versions/mysql/96.sql
+++ /dev/null
@@ -1,38 +0,0 @@
-begin;
-
-create table ttrss_filters2(id integer primary key auto_increment,
-	owner_uid integer not null,
-	match_any_rule boolean not null default false,
-	enabled boolean not null default true,
-	index(owner_uid),
-	foreign key (owner_uid) references ttrss_users(id) ON DELETE CASCADE) ENGINE=InnoDB DEFAULT CHARSET=UTF8;
-	
-create table ttrss_filters2_rules(id integer primary key auto_increment,
-	filter_id integer not null references ttrss_filters2(id) on delete cascade,
-	reg_exp varchar(250) not null,
-	filter_type integer not null,
-	feed_id integer default null,
-	cat_id integer default null,
-	cat_filter boolean not null default false,
-	index (filter_id),
-	foreign key (filter_id) references ttrss_filters2(id) on delete cascade,
-	index (filter_type),
-	foreign key (filter_type) references ttrss_filter_types(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) ENGINE=InnoDB DEFAULT CHARSET=UTF8;
-
-create table ttrss_filters2_actions(id integer primary key auto_increment,
-	filter_id integer not null,
-	action_id integer not null default 1 references ttrss_filter_actions(id) on delete cascade,
-	action_param varchar(250) not null default '',
-	index (filter_id),
-	foreign key (filter_id) references ttrss_filters2(id) on delete cascade,
-	index (action_id),
-	foreign key (action_id) references ttrss_filter_actions(id) ON DELETE CASCADE) ENGINE=InnoDB DEFAULT CHARSET=UTF8;
-
-update ttrss_version set schema_version = 96;
-
-commit;
-
-- 
cgit v1.2.3-54-g00ecf

