Fixed migration to remove rows before deleting the column

@cvan r?