update casing

This commit is contained in:
Cam 2024-01-25 09:58:55 -06:00
parent 2b3b6ed012
commit f77404b4db
No known key found for this signature in database
GPG Key ID: 367B7C7EBD84A8BD

View File

@ -4,4 +4,4 @@
ALTER TABLE password_reset_requests DROP CONSTRAINT password_reset_requests_account_id_key;
-- add new constraint which doesnt mind having multiple resets for account ids
ALTER TABLE password_reset_requests ADD CONSTRAINT password_reset_requests_account_id_key FOREIGN KEY (account_id) REFERENCES accounts (id) on delete cascade;
ALTER TABLE password_reset_requests ADD CONSTRAINT password_reset_requests_account_id_key FOREIGN KEY (account_id) REFERENCES accounts (id) ON DELETE CASCADE;