1 CREATE TABLE IF NOT EXISTS `ninja_saved_filters` (
2 `id` int(11) NOT NULL AUTO_INCREMENT,
3 `username` varchar(200) COLLATE latin1_general_cs DEFAULT NULL,
4 `filter_name` varchar(255) COLLATE latin1_general_cs NOT NULL,
5 `filter_table` varchar(255) COLLATE latin1_general_cs NOT NULL,
6 `filter` text COLLATE latin1_general_cs NOT NULL,
7 `filter_description` text COLLATE latin1_general_cs NOT NULL,
9 UNIQUE KEY `username_2` (`username`,`filter_name`),
10 KEY `username` (`username`,`filter_table`),
11 KEY `filter_table` (`filter_table`,`username`),
12 KEY `filter_name` (`filter_name`)
15 DROP TABLE IF EXISTS `ninja_saved_queries`;