Skip to content

Commit

Permalink
Merge pull request #49 from Ensembl/xref/db_models
Browse files Browse the repository at this point in the history
Minor fix
  • Loading branch information
JAlvarezJarreta authored Apr 29, 2024
2 parents f17634b + fbf8e9e commit 5080559
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/python/ensembl/xrefs/xref_source_db_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ class Source(Base):

class Version(Base):
__tablename__ = "version"
__table_args__ = Index("version_idx", "source_id", "revision")
__table_args__ = (Index("version_idx", "source_id", "revision"),)

version_id = Column(INTEGER(10), primary_key=True, autoincrement=True)
source_id = Column(INTEGER(10), ForeignKey("source.source_id"))
Expand Down

0 comments on commit 5080559

Please sign in to comment.