Move parent_id back to child table