ALTER TABLE child_table
ADD CONSTRAINT `FK_Reference_2`
FOREIGN KEY (`parent_id` )
REFERENCES parent_table (`parent_id` )
ON DELETE CASCADE;
ALTER TABLE child_table
ADD CONSTRAINT `FK_Reference_2`
FOREIGN KEY (`parent_id` )
REFERENCES parent_table (`parent_id` )
ON DELETE CASCADE;