Skip to content

Commit

Permalink
Update ISPyB ORM schema to database schema v4.2.1 (#217)
Browse files Browse the repository at this point in the history
Generated with
sqlacodegen            2.3.0.post1
SQLAlchemy             1.4.53

Co-authored-by: Stephen Riggs <122790971+stephen-riggs@users.noreply.github.com>
Co-authored-by: ISPyB-API Azure build <DiamondLightSource-build-server@users.noreply.github.com>
  • Loading branch information
3 people committed Aug 23, 2024
1 parent a921f00 commit a571624
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ispyb/sqlalchemy/_auto_db_schema.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
__schema_version__ = "4.2.0"
__schema_version__ = "4.2.1"
# coding: utf-8
from sqlalchemy import (
BINARY,
Expand Down Expand Up @@ -1697,8 +1697,8 @@ class DiffractionPlan(Base):
class LabContact(Base):
__tablename__ = "LabContact"
__table_args__ = (
Index("personAndProposal", "personId", "proposalId", unique=True),
Index("cardNameAndProposal", "cardName", "proposalId", unique=True),
Index("personAndProposal", "personId", "proposalId", unique=True),
)

labContactId = Column(INTEGER(10), primary_key=True)
Expand Down

0 comments on commit a571624

Please sign in to comment.