Skip to content

Commit 5080559

Browse files
Merge pull request #49 from Ensembl/xref/db_models
Minor fix
2 parents f17634b + fbf8e9e commit 5080559

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/python/ensembl/xrefs/xref_source_db_model.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ class Source(Base):
4242

4343
class Version(Base):
4444
__tablename__ = "version"
45-
__table_args__ = Index("version_idx", "source_id", "revision")
45+
__table_args__ = (Index("version_idx", "source_id", "revision"),)
4646

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

0 commit comments

Comments
 (0)