BEGIN;

ALTER TABLE verification_logs DROP CONSTRAINT IF EXISTS verification_logs_verification_request_id_fkey;
ALTER TABLE verification_logs
    ADD CONSTRAINT verification_logs_verification_request_id_fkey
    FOREIGN KEY (verification_request_id) REFERENCES verification_requests(id) ON DELETE CASCADE;

COMMIT;
