Some changes to migrations