Fixed migration to remove rows before deleting the column
Merge pull request #2225 from robhudson/migration-fix

Fixed migration to remove rows before deleting the column