diff options
author | Andrew Dolgov <[email protected]> | 2006-03-02 09:10:43 +0100 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2006-03-02 09:10:43 +0100 |
commit | 36bfab86c2682c460b197029bbae4daa6ff83ec4 (patch) | |
tree | d243e8863dd358be04b3695c0b092287657452b7 /schema/ttrss_schema_mysql.sql | |
parent | 36ae0574dd83d660570574ecc40d0d847dbde897 (diff) |
database backed sessions
Diffstat (limited to 'schema/ttrss_schema_mysql.sql')
-rw-r--r-- | schema/ttrss_schema_mysql.sql | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/schema/ttrss_schema_mysql.sql b/schema/ttrss_schema_mysql.sql index eb1076999..5032334c8 100644 --- a/schema/ttrss_schema_mysql.sql +++ b/schema/ttrss_schema_mysql.sql @@ -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; |