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

"identifiers" module for unique identifiers #39

Open
sourcefilter opened this issue Oct 29, 2017 · 1 comment
Open

"identifiers" module for unique identifiers #39

sourcefilter opened this issue Oct 29, 2017 · 1 comment
Assignees
Labels

Comments

@sourcefilter
Copy link
Member

Types (use Django-polymorphic w/ single table, proxy classes)

  • URL / URI
  • Archive-it specific URIs??? (partner org / collection / resource)
  • Archive-it setspec

Fields (all in base class)
Unique Together(
- namespace (string: null unless it's something you have to know to interpret identifier)
- identifier (string: never null)
)

  • referent (GenericForeignKey; not unique, except maybe w/in a specific subclass?)
@sourcefilter sourcefilter self-assigned this Oct 29, 2017
@sourcefilter
Copy link
Member Author

(This will help avoid collection duplication bugs, for example)

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

No branches or pull requests

1 participant