I want to setup a cascading delete between two tables without enforcing referential integrity.
For example, imagine I've got the following two tables:
posts+----+---------+
| id | user_id |
+----+---------+
| 1 | 1 |
| 2 | 2 |
| 3 | 3 |
+----+---------+
users
+----+
| id |
+----+
| 1 |
| 4 |
+----+
I want to create a constraint/trigger that causes the referenced row in users to be deleted when I delete a row in posts without enforcing referential integrity.