summaryrefslogtreecommitdiff
path: root/schema/ttrss_schema_pgsql.sql
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2005-11-19 11:03:47 +0100
committerAndrew Dolgov <[email protected]>2005-11-19 11:03:47 +0100
commitc62d62f65e0ee9feaaa18f0b3eb8860e4400f97c (patch)
tree9578e5f6fed5c33c7247363dfe06a6589b1dcf08 /schema/ttrss_schema_pgsql.sql
parent5d15d3eacd6bea4ee94fc27c94a82aa2c1678e9e (diff)
new schema adapted for mysql, PG schema fixes
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,