{MySQL} Cascading Delete

ALTER TABLE foo ADD FOREIGN KEY(bar_id)
REFERENCES bar (id) ON DELETE CASCADE;

EOF