lemmy/server/migrations/2019-10-24-002614_create_password_reset_request/up.sql

6 lines
221 B
SQL
Vendored

create table password_reset_request (
id serial primary key,
user_id int references user_ on update cascade on delete cascade not null,
token_encrypted text not null,
published timestamp not null default now()
);