Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create enum for source field #152

Open
jmartinm opened this issue May 12, 2017 · 1 comment
Open

Create enum for source field #152

jmartinm opened this issue May 12, 2017 · 1 comment

Comments

@jmartinm
Copy link
Contributor

The source.yml is currently a free text field. This will be a problem when we start using this field value as the way to retrieve records from different sources (arXiv, APS, ...) by the merger, since this value will be in the database and should always be the same.

An enum should be created instead.

NOTE: One of the values in the enum should be used for the user submission forms. The forms currently don't populate the source field, but they should start doing that once we have the merger working.

@jmartinm
Copy link
Contributor Author

CC @michamos @ammirate

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant