/framework/core/session/init.sql
http://zoop.googlecode.com/ · SQL · 17 lines · 14 code · 3 blank · 0 comment · 0 complexity · b8d22892b4bcebee92b9aa07faf0f673 MD5 · raw file
- begin;
- CREATE TABLE session_base
- (
- session_id text NOT NULL PRIMARY KEY,
- last_active timestamp with time zone NOT NULL
- );
- CREATE TABLE session_data
- (
- session_id text NOT NULL,
- key text,
- value text,
- PRIMARY KEY (session_id, key)
- );
- commit;