summaryrefslogtreecommitdiff
path: root/schema/ttrss_schema_pgsql.sql
diff options
context:
space:
mode:
Diffstat (limited to 'schema/ttrss_schema_pgsql.sql')
-rw-r--r--schema/ttrss_schema_pgsql.sql6
1 files changed, 4 insertions, 2 deletions
diff --git a/schema/ttrss_schema_pgsql.sql b/schema/ttrss_schema_pgsql.sql
index e1d07c425..0abb81304 100644
--- a/schema/ttrss_schema_pgsql.sql
+++ b/schema/ttrss_schema_pgsql.sql
@@ -49,8 +49,10 @@ create table ttrss_entries (id serial not null primary key,
content_hash varchar(250) not null,
no_orig_date boolean not null default false,
date_entered timestamp not null default NOW(),
- comments varchar(250) not null default '',
- index (guid), index(title));
+ comments varchar(250) not null default '');
+
+create index ttrss_entries_guid_index on ttrss_entries(guid);
+create index ttrss_entries_title_index on ttrss_entries(title);
create table ttrss_user_entries (
int_id serial not null primary key,