]> git.wh0rd.org Git - tt-rss.git/commitdiff
mysql schema: add few missing indexes
authorAndrew Dolgov <fox@madoka.volgo-balt.ru>
Tue, 10 Jul 2012 19:49:05 +0000 (23:49 +0400)
committerAndrew Dolgov <fox@madoka.volgo-balt.ru>
Tue, 10 Jul 2012 19:49:05 +0000 (23:49 +0400)
schema/ttrss_schema_mysql.sql

index 54f53e85f7f9c72fb30f9e0137fca60abdb200fa..378378ed9999ce12d279c91b4de80024465a817b 100644 (file)
@@ -175,6 +175,9 @@ create table ttrss_user_entries (
        index (owner_uid),
        foreign key (owner_uid) references ttrss_users(id) ON DELETE CASCADE) ENGINE=InnoDB DEFAULT CHARSET=UTF8;
 
+create index ttrss_user_entries_owner_uid_index on ttrss_user_entries(owner_uid);
+create index ttrss_user_entries_ref_id_index on ttrss_user_entries(ref_id);
+create index ttrss_user_entries_feed_id on ttrss_user_entries(feed_id);
 create index ttrss_user_entries_unread_idx on ttrss_user_entries(unread);
 
 create table ttrss_entry_comments (id integer not null primary key,