8 lines
228 B
MySQL
8 lines
228 B
MySQL
|
-- add sessions table for server side session storage
|
||
|
CREATE TABLE sessions
|
||
|
(
|
||
|
token char(43) PRIMARY KEY,
|
||
|
data BLOB NOT NULL,
|
||
|
expiry TIMESTAMP NOT NULL
|
||
|
);
|
||
|
CREATE INDEX session_expiry_idx ON sessions (expiry);
|