add fields for sort
migrate