From c62d62f65e0ee9feaaa18f0b3eb8860e4400f97c Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Sat, 19 Nov 2005 11:03:47 +0100 Subject: new schema adapted for mysql, PG schema fixes --- schema/ttrss_schema_pgsql.sql | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'schema/ttrss_schema_pgsql.sql') 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, -- cgit v1.2.3