I don't trust ON DELETE CASCADE
The author warns that PostgreSQL’s ON DELETE CASCADE can make deleting records risky as an application grows. Cascades can spread across many tables and recur through linked relationships, letting a single DELETE trigger cleanup throughout the database. The post says a migration can eventually turn that setup into a production outage, though it does not explain the incident further.
AI-written summary, checked against the cited sources. How summaries work
