You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
lemmy/migrations/2019-10-24-002614_create_pa.../up.sql

8 lines
230 B
SQL

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