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

7 lines
221 B
MySQL
Raw Permalink Normal View History

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