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

[wip] add a unique constraint #40

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

[wip] add a unique constraint #40

wants to merge 1 commit into from

Conversation

jcoyne
Copy link
Contributor

@jcoyne jcoyne commented Jan 10, 2019

No description provided.

@jcoyne jcoyne changed the title add a unique constraint [wip] add a unique constraint Jan 10, 2019
@jcoyne
Copy link
Contributor Author

jcoyne commented Jan 10, 2019

I'm checking to see if this is compatible with our data first.

@jcoyne jcoyne force-pushed the unique_constraint branch from cb59c47 to 2ffa97a Compare January 10, 2019 23:05
@jcoyne
Copy link
Contributor Author

jcoyne commented Jan 10, 2019

Currently hitting;

PG::UniqueViolation: ERROR:  could not create unique index "uk_workflow_steps"
DETAIL:  Key (druid, version, datastream, process)=(druid:kw406zk5778, 1, digitizationWF, digitize) is duplicated.

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

Successfully merging this pull request may close these issues.

2 participants