Skip to content

Commit

Permalink
removed unique with constraint
Browse files Browse the repository at this point in the history
  • Loading branch information
AlxEnashi committed Jul 10, 2024
1 parent 4933fe6 commit 7482b58
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions libs/db-plugins/db_plugins/db/sql/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,9 +112,6 @@ class Score(Base):
category_name = Column(String, primary_key=True)
score = Column(Float, nullable=False)
__table_args__ = (
UniqueConstraint(
"detector_name", "detector_version", name="_detector_name_version_"
),
Index("ix_scores_oid", "oid", postgresql_using="hash"),
Index("ix_scores_score", "score", postgresql_using="btree"),
)
Expand Down

0 comments on commit 7482b58

Please sign in to comment.