Fix a db:migrate issue so that deleted_at columns are added before they are been used