From 04febb0429adb24da43ac33bc6d925d450e10b60 Mon Sep 17 00:00:00 2001
From: Andrew Dolgov <fox@bah.spb.su>
Date: Thu, 2 Mar 2006 13:15:28 +0100
Subject: shrink session id length in db

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

(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 37b3674dc..329a297c6 100644
--- a/schema/upgrade-1.1.3-1.1.4-mysql.sql
+++ b/schema/upgrade-1.1.3-1.1.4-mysql.sql
@@ -5,11 +5,11 @@ 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 (id varchar(300) unique not null primary key,
+create table ttrss_sessions (id varchar(250) not null primary key,
 	data text,
 	expire integer not null,
 	ip_address varchar(15) not null default '',
-	index (id), 
+	index (id),
 	index (expire)) TYPE=InnoDB;
 
 update ttrss_version set schema_version = 6;
-- 
cgit v1.2.3

