migrate to delete credentials field