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

Add constraint(s) for field_unique_id on nodes, media and taxonomy vocabs #387

Closed
bseeger opened this issue Jul 22, 2021 · 1 comment
Closed
Assignees

Comments

@bseeger
Copy link

bseeger commented Jul 22, 2021

This is part of #383 and is dependent on #384, #385 and #386 being completed first.

We need a way to guarantee unique field_unique_id across types. It might be that they only need to be unique across entity_type, versus the entire system.

This doesn't necessarily have to be a constraint, but it needs to cover both cases where additions happen via the UI and migration.

Note: the unique id's are case insensitive, where, for example, uid:1243-BA07 and UID:1243-ba07 would be consider equivalent strings and not unique ids.

See also: https://docs.google.com/document/d/1WCu8bRtLELgGGoIBuyed0-pJB1GwgPuuGeLnMbCOaMM/edit#heading=h.l3aqgsytkn51

@bseeger bseeger changed the title Add constraint(s) for field_iid on nodes, media and taxonomy vocabs Add constraint(s) for field_unique_id on nodes, media and taxonomy vocabs Jul 22, 2021
@bseeger
Copy link
Author

bseeger commented Jul 30, 2021

Resolved with: jhu-idc/idc-isle-dc#194, but further refined by: jhu-idc/idc-isle-dc#198

@bseeger bseeger closed this as completed Jul 30, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants