mirror of https://github.com/LemmyNet/lemmy.git
10 lines
208 B
MySQL
10 lines
208 B
MySQL
|
-- generate a jwt secret
|
||
|
create extension if not exists pgcrypto;
|
||
|
|
||
|
create table secret(
|
||
|
id serial primary key,
|
||
|
jwt_secret varchar not null default gen_random_uuid()
|
||
|
);
|
||
|
|
||
|
insert into secret default values;
|