11 lines
313 B
MySQL
11 lines
313 B
MySQL
|
CREATE TABLE "session" (
|
||
|
"sid" varchar NOT NULL COLLATE "default",
|
||
|
"sess" json NOT NULL,
|
||
|
"expire" timestamp(6) NOT NULL
|
||
|
)
|
||
|
WITH (OIDS=FALSE);
|
||
|
|
||
|
ALTER TABLE "session" ADD CONSTRAINT "session_pkey" PRIMARY KEY ("sid") NOT DEFERRABLE INITIALLY IMMEDIATE;
|
||
|
|
||
|
CREATE INDEX "IDX_session_expire" ON "session" ("expire");
|