summaryrefslogtreecommitdiff
path: root/schema/ttrss_schema_pgsql.sql
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2011-12-21 18:49:27 +0400
committerAndrew Dolgov <[email protected]>2011-12-21 18:49:27 +0400
commitf0143d4ef9160e816e4b0320e6bd118a41fe587b (patch)
tree8b4ca6e38669a6fb8f538097a396a9b6d3951a8a /schema/ttrss_schema_pgsql.sql
parentbb82bed23f15844b91de0946fbb2fd221d78f160 (diff)
add index on ttrss_enclosures(post_id)
Diffstat (limited to 'schema/ttrss_schema_pgsql.sql')
-rw-r--r--schema/ttrss_schema_pgsql.sql2
1 files changed, 2 insertions, 0 deletions
diff --git a/schema/ttrss_schema_pgsql.sql b/schema/ttrss_schema_pgsql.sql
index 6e56134fa..d018d7f0b 100644
--- a/schema/ttrss_schema_pgsql.sql
+++ b/schema/ttrss_schema_pgsql.sql
@@ -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);