Skip to content

Database schema allows for duplicate tag names and relationships #1755

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

Open
2 tasks done
nscuro opened this issue Apr 11, 2025 · 0 comments · May be fixed by DependencyTrack/hyades-apiserver#1124
Open
2 tasks done
Assignees
Milestone

Comments

@nscuro
Copy link
Member

nscuro commented Apr 11, 2025

Current Behavior

There is no unique constraint on tag names, and tag relationship tables lack a primary key that could prevent duplicate records.

Steps to Reproduce

N/A

Expected Behavior

  • Ensure duplicate tag names are not possible.
  • Ensure duplicate tag relationships are not possible.
  • Gracefully fix duplicate records during schema migration.

Hyades Version

5.6.0-SNAPSHOT

Repository Type

Hyades apiserver

Browser

N/A

Checklist

@nscuro nscuro added this to the 0.6.0 milestone Apr 11, 2025
@nscuro nscuro self-assigned this Apr 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant