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_pgsql.sql | |
parent | 36ae0574dd83d660570574ecc40d0d847dbde897 (diff) |
database backed sessions
Diffstat (limited to 'schema/ttrss_schema_pgsql.sql')
-rw-r--r-- | schema/ttrss_schema_pgsql.sql | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/schema/ttrss_schema_pgsql.sql b/schema/ttrss_schema_pgsql.sql index 97434ce2a..ec98bbb22 100644 --- a/schema/ttrss_schema_pgsql.sql +++ b/schema/ttrss_schema_pgsql.sql @@ -16,6 +16,7 @@ drop table ttrss_feeds; drop table ttrss_feed_categories; drop table ttrss_users; drop table ttrss_themes; +drop table ttrss_sessions; begin; @@ -230,4 +231,12 @@ create table ttrss_scheduled_updates (id serial not null primary key, feed_id integer default null references ttrss_feeds(id) ON DELETE CASCADE, entered timestamp not null default NOW()); +create table ttrss_sessions (int_id serial not null primary key, + id varchar(300) unique not null, + data text, + expire integer not null); + +create index ttrss_sessions_id_index on ttrss_sessions(id); +create index ttrss_sessions_expire_index on ttrss_sessions(expire); + commit; |