mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-30 18:21:32 +00:00
shrink session id length in db
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user