mm-auth-service/sql/V15__Alter_table_otp.sql
2025-07-25 18:00:13 +07:00

2 lines
93 B
SQL

ALTER TABLE one_time_passwords ADD CONSTRAINT uniq_user_id_active UNIQUE (user_id, used_at);