glints
.public
Tables
(current)
Columns
Constraints
Relationships
Orphan Tables
Anomalies
Routines
reject_sibling_undelete_with_different_auth()
Parameters
Name
Type
Mode
IN
Definition
BEGIN IF OLD."deletedAt" IS NULL OR NEW."deletedAt" IS NOT NULL THEN RETURN NEW; END IF; IF NEW.email IS NULL THEN RETURN NEW; END IF; PERFORM check_sibling_auth_match(NEW.email, NEW.id, NEW.password); RETURN NEW; END;