Сделайте внешний ключ SQL в ряд
ALTER TABLE orders ADD FOREIGN KEY (status_id) REFERENCES status(id) ON DELETE CASCADE;
Strange Sandpiper
ALTER TABLE orders ADD FOREIGN KEY (status_id) REFERENCES status(id) ON DELETE CASCADE;