]> git.wh0rd.org Git - tt-rss.git/commitdiff
schema: add index on ttrss_tags
authorAndrew Dolgov <fox@madoka.volgo-balt.ru>
Sat, 13 Nov 2010 16:26:29 +0000 (19:26 +0300)
committerAndrew Dolgov <fox@madoka.volgo-balt.ru>
Sat, 13 Nov 2010 16:26:29 +0000 (19:26 +0300)
schema/ttrss_schema_pgsql.sql

index 152af5dd3b8e1d9cbe116fd0bb37419296cfd945..9c20681ad7ded51c8ba1f0348b5a6da953b4b4a4 100644 (file)
@@ -215,6 +215,7 @@ create table ttrss_tags (id serial not null primary key,
        post_int_id integer references ttrss_user_entries(int_id) ON DELETE CASCADE not null);
 
 create index ttrss_tags_owner_uid_index on ttrss_tags(owner_uid);
+create index ttrss_tags_post_int_id_idx on ttrss_tags(post_int_id);
 
 create table ttrss_version (schema_version int not null);