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

Table subjects: unique constraint #220

Merged
merged 3 commits into from
Jan 16, 2025
Merged

Conversation

daforster
Copy link
Contributor

If there are no identifiers then type and label must be unique
among those entries without identifiers. Therefore entries are allowed
that have the same type and label but one is with and one w/o
identifiers.

(For proper diff view look at the changes made after the first commit [only creates the repeatable migration].)

Ticket: [METASVC-149]

`subjects_is_unique_type_identifier`
If there are no identifiers then type and label must be unique
among those entries without identifiers. Therefore entries are allowed
that have the same type and label but one is with and one w/o
identifiers.
@daforster daforster self-assigned this Jan 15, 2025
Copy link
Member

@clorenz clorenz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lokal getestet und für gut befunden ;)

@daforster daforster merged commit afc102b into main Jan 16, 2025
3 checks passed
@daforster daforster deleted the subjects_unique_constraint branch January 16, 2025 14:01
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