This commit is contained in:
parent
0850dab882
commit
6a6941789f
2 changed files with 2 additions and 2 deletions
|
@ -13,7 +13,7 @@ CREATE TABLE IF NOT EXISTS user_session (
|
|||
"user" varchar(255) NOT NULL,
|
||||
"created" timestamptz NOT NULL DEFAULT NOW(),
|
||||
"csrf" UUID NOT NULL DEFAULT gen_random_uuid(),
|
||||
"name" varchar(255)
|
||||
"name" varchar(255),
|
||||
kind session_kind NOT NULL DEFAULT 'user',
|
||||
FOREIGN KEY("user") REFERENCES users(username)
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue