summaryrefslogtreecommitdiff
path: root/schema/upgrade-1.1.3-1.1.4-pgsql.sql
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2006-03-02 09:20:02 +0100
committerAndrew Dolgov <[email protected]>2006-03-02 09:20:02 +0100
commit8fd92701e9074b79a72982809a6a87f8e943399a (patch)
tree444e323616a93c573f200bfa5249e98f19073ce2 /schema/upgrade-1.1.3-1.1.4-pgsql.sql
parent36bfab86c2682c460b197029bbae4daa6ff83ec4 (diff)
update schema, new option: DATABASE_BACKED_SESSIONS
Diffstat (limited to 'schema/upgrade-1.1.3-1.1.4-pgsql.sql')
-rw-r--r--schema/upgrade-1.1.3-1.1.4-pgsql.sql7
1 files changed, 3 insertions, 4 deletions
diff --git a/schema/upgrade-1.1.3-1.1.4-pgsql.sql b/schema/upgrade-1.1.3-1.1.4-pgsql.sql
index 6a0f46b55..d1d310f3d 100644
--- a/schema/upgrade-1.1.3-1.1.4-pgsql.sql
+++ b/schema/upgrade-1.1.3-1.1.4-pgsql.sql
@@ -7,10 +7,9 @@ update ttrss_entries set author = '';
alter table ttrss_entries alter column author set not null;
alter table ttrss_entries alter column author set default '';
-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);