feat(legacy): move session store to database (#2523)
This commit is contained in:
parent
be282fac80
commit
001466f8fd
14 changed files with 2259 additions and 5 deletions
|
@ -686,6 +686,21 @@ CREATE TABLE "podcast_episodes"
|
|||
PRIMARY KEY ("id")
|
||||
);
|
||||
|
||||
-----------------------------------------------------------------------
|
||||
-- sessions
|
||||
-----------------------------------------------------------------------
|
||||
|
||||
DROP TABLE IF EXISTS "sessions" CASCADE;
|
||||
|
||||
CREATE TABLE "sessions"
|
||||
(
|
||||
"id" CHAR(32) NOT NULL,
|
||||
"modified" INTEGER,
|
||||
"lifetime" INTEGER,
|
||||
"data" TEXT,
|
||||
PRIMARY KEY ("id")
|
||||
);
|
||||
|
||||
ALTER TABLE "cc_files" ADD CONSTRAINT "cc_files_owner_fkey"
|
||||
FOREIGN KEY ("owner_id")
|
||||
REFERENCES "cc_subjs" ("id");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue