lemmy/migrations/2021-09-20-112945_jwt-secret/up.sql

10 lines
208 B
SQL

-- 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;