From 36bfab86c2682c460b197029bbae4daa6ff83ec4 Mon Sep 17 00:00:00 2001
From: Andrew Dolgov <fox@madoka.spb.ru>
Date: Thu, 2 Mar 2006 09:10:43 +0100
Subject: database backed sessions

---
 schema/upgrade-1.1.3-1.1.4-mysql.sql | 7 +++++++
 1 file changed, 7 insertions(+)

(limited to 'schema/upgrade-1.1.3-1.1.4-mysql.sql')

diff --git a/schema/upgrade-1.1.3-1.1.4-mysql.sql b/schema/upgrade-1.1.3-1.1.4-mysql.sql
index 2570bb4ba..f2e9bd16c 100644
--- a/schema/upgrade-1.1.3-1.1.4-mysql.sql
+++ b/schema/upgrade-1.1.3-1.1.4-mysql.sql
@@ -5,5 +5,12 @@ update ttrss_entries set author = '';
 alter table ttrss_entries change author author varchar(250) not null;
 alter table ttrss_entries alter column author set default '';
 
+create table ttrss_sessions (int_id integer not null primary key auto_increment,
+	id varchar(300) unique not null,
+	data text,
+	expire integer not null,
+	index (id), 
+	index (expire)) TYPE=InnoDB;
+
 update ttrss_version set schema_version = 6;
 
-- 
cgit v1.2.3

