Run migrations before upgrade runs.