summaryrefslogtreecommitdiff
path: root/schema/ttrss_schema_mysql.sql
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2012-07-11 12:52:59 +0400
committerAndrew Dolgov <[email protected]>2012-07-11 12:52:59 +0400
commit44f1eeed563494fe7946373872a457ccd2c17ab4 (patch)
treea87dcde2cc0316eaf8d652c50b0e18ffc870409b /schema/ttrss_schema_mysql.sql
parent2ced2bb8048012cb6290f77921e0f90a9419f59d (diff)
add ttrss_feeds_cat_id_idx
Diffstat (limited to 'schema/ttrss_schema_mysql.sql')
-rw-r--r--schema/ttrss_schema_mysql.sql3
1 files changed, 3 insertions, 0 deletions
diff --git a/schema/ttrss_schema_mysql.sql b/schema/ttrss_schema_mysql.sql
index cbbbc64ab..5e6ca6096 100644
--- a/schema/ttrss_schema_mysql.sql
+++ b/schema/ttrss_schema_mysql.sql
@@ -127,6 +127,9 @@ create table ttrss_feeds (id integer not null auto_increment primary key,
index(parent_feed),
foreign key (parent_feed) references ttrss_feeds(id) ON DELETE SET NULL) ENGINE=InnoDB DEFAULT CHARSET=UTF8;
+create index ttrss_feeds_owner_uid_index on ttrss_feeds(owner_uid);
+create index ttrss_feeds_cat_id_idx on ttrss_feeds(cat_id);
+
insert into ttrss_feeds (owner_uid, title, feed_url) values
(1, 'Tiny Tiny RSS: New Releases', 'http://tt-rss.org/releases.rss');