11 lines
306 B
SQL
11 lines
306 B
SQL
-- add config(jwt)
|
|
CREATE TABLE IF NOT EXISTS config
|
|
(
|
|
id integer PRIMARY KEY, -- always 0
|
|
"Jwt.Alg" text NOT NULL DEFAULT 'HS256',
|
|
"Jwt.SignKey" text NOT NULL DEFAULT gen_random_uuid(),
|
|
"Jwt.VerifyKye" text DEFAULT NULL
|
|
);
|
|
|
|
INSERT INTO config (id)
|
|
VALUES (0); |