relation <str> is referenced in trigger <str> Explanation: Before you can delete a relation, all constraints, triggers, and views based on this relation must be deleted. User Action: Delete the dependent constraints, triggers, and views that refer to this relation.