mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2026-01-10 20:19:14 +00:00
database backed sessions
This commit is contained in:
@@ -16,6 +16,7 @@ drop table if exists ttrss_feeds;
|
||||
drop table if exists ttrss_feed_categories;
|
||||
drop table if exists ttrss_users;
|
||||
drop table if exists ttrss_themes;
|
||||
drop table if exists ttrss_sessions;
|
||||
|
||||
begin;
|
||||
|
||||
@@ -255,4 +256,11 @@ create table ttrss_scheduled_updates (id integer not null primary key auto_incre
|
||||
foreign key (owner_uid) references ttrss_users(id) ON DELETE CASCADE,
|
||||
foreign key (feed_id) references ttrss_feeds(id) ON DELETE CASCADE) TYPE=InnoDB;
|
||||
|
||||
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;
|
||||
|
||||
commit;
|
||||
|
||||
Reference in New Issue
Block a user