diff --git a/lib/galaxy/model/__init__.py b/lib/galaxy/model/__init__.py index 4efa7174d79d..6c49dc020cb5 100644 --- a/lib/galaxy/model/__init__.py +++ b/lib/galaxy/model/__init__.py @@ -3705,6 +3705,7 @@ def __init__(self, user, role): class GroupRoleAssociation(Base, RepresentById): __tablename__ = "group_role_association" + __table_args__ = (UniqueConstraint("group_id", "role_id"),) id: Mapped[int] = mapped_column(primary_key=True) group_id: Mapped[int] = mapped_column(ForeignKey("galaxy_group.id"), index=True, nullable=True)