add index on ttrss_enclosures(post_id)
This commit is contained in:
parent
bb82bed23f
commit
f0143d4ef9
2 changed files with 4 additions and 0 deletions
|
@ -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,
|
||||
|
|
|
@ -235,6 +235,8 @@ create table ttrss_enclosures (id serial not null primary key,
|
|||
duration text not null,
|
||||
post_id integer references ttrss_entries(id) ON DELETE cascade NOT NULL);
|
||||
|
||||
create index ttrss_enclosures_post_id_idx on ttrss_enclosures(post_id);
|
||||
|
||||
create table ttrss_settings_profiles(id serial not null primary key,
|
||||
title varchar(250) not null,
|
||||
owner_uid integer not null references ttrss_users(id) on delete cascade);
|
||||
|
|
Loading…
Reference in a new issue