Doctrine DBAL

Moving entity relationship doesn't move foreign key in mysql table