This repository has been archived on 2020-04-21. You can view files and clone it, but cannot push or open issues or pull requests.
lemmy/server/migrations/2019-10-24-002614_create_password_reset_request/up.sql

7 lines
221 B
MySQL
Raw 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()
);