From f0143d4ef9160e816e4b0320e6bd118a41fe587b Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Wed, 21 Dec 2011 18:49:27 +0400 Subject: add index on ttrss_enclosures(post_id) --- schema/ttrss_schema_mysql.sql | 2 ++ 1 file changed, 2 insertions(+) (limited to 'schema/ttrss_schema_mysql.sql') diff --git a/schema/ttrss_schema_mysql.sql b/schema/ttrss_schema_mysql.sql index 37a714f7f..38a531095 100644 --- a/schema/ttrss_schema_mysql.sql +++ b/schema/ttrss_schema_mysql.sql @@ -266,6 +266,8 @@ create table ttrss_enclosures (id integer primary key auto_increment, index (post_id), foreign key (post_id) references ttrss_entries(id) ON DELETE cascade) ENGINE=InnoDB DEFAULT CHARSET=UTF8; +create index ttrss_enclosures_post_id_idx on ttrss_enclosures(post_id); + create table ttrss_settings_profiles(id integer primary key auto_increment, title varchar(250) not null, owner_uid integer not null, -- cgit v1.2.3