feat: one time password

feat:  json web token
feat:  mail template
This commit is contained in:
Ahmet Kaan GÜMÜŞ 2025-01-11 17:29:18 +03:00
parent c7863c806a
commit bb2b70ccac
16 changed files with 536 additions and 9 deletions

View file

@ -0,0 +1,6 @@
-- Add up migration script here
CREATE TABLE IF NOT EXISTS "login"(
user_id BIGSERIAL NOT NULL REFERENCES "user"(id),
token VARCHAR(1024) NOT NULL,
PRIMARY KEY (user_id, token)
);