From 8fd92701e9074b79a72982809a6a87f8e943399a Mon Sep 17 00:00:00 2001
From: Andrew Dolgov <fox@madoka.spb.ru>
Date: Thu, 2 Mar 2006 09:20:02 +0100
Subject: update schema, new option: DATABASE_BACKED_SESSIONS

---
 schema/ttrss_schema_pgsql.sql | 8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)

(limited to 'schema/ttrss_schema_pgsql.sql')

diff --git a/schema/ttrss_schema_pgsql.sql b/schema/ttrss_schema_pgsql.sql
index ec98bbb22..c6bc45217 100644
--- a/schema/ttrss_schema_pgsql.sql
+++ b/schema/ttrss_schema_pgsql.sql
@@ -231,12 +231,10 @@ create table ttrss_scheduled_updates (id serial not null primary key,
 	feed_id integer default null references ttrss_feeds(id) ON DELETE CASCADE,
 	entered timestamp not null default NOW());
 
-create table ttrss_sessions (int_id serial not null primary key,
-		id varchar(300) unique not null,
-		data text,
-		expire integer not null);
+create table ttrss_sessions (id varchar(300) unique not null primary key,
+	data text,
+	expire integer not null);
 
-create index ttrss_sessions_id_index on ttrss_sessions(id);
 create index ttrss_sessions_expire_index on ttrss_sessions(expire);
 
 commit;
-- 
cgit v1.2.3

