diff --git a/src/ispyb/sqlalchemy/_auto_db_schema.py b/src/ispyb/sqlalchemy/_auto_db_schema.py index 61d0b620..b904b542 100644 --- a/src/ispyb/sqlalchemy/_auto_db_schema.py +++ b/src/ispyb/sqlalchemy/_auto_db_schema.py @@ -1,4 +1,4 @@ -__schema_version__ = "4.8.0" +__schema_version__ = "4.9.0" import datetime import decimal from typing import List, Optional @@ -2235,6 +2235,12 @@ class Proposal(Base): state: Mapped[Optional[str]] = mapped_column( Enum("Open", "Closed", "Cancelled"), server_default=text("'Open'") ) + startDate: Mapped[Optional[datetime.datetime]] = mapped_column( + DateTime, comment="Start of the allocation period" + ) + endDate: Mapped[Optional[datetime.datetime]] = mapped_column( + DateTime, comment="End of the allocation period" + ) Person: Mapped["Person"] = relationship("Person", back_populates="Proposal") BLSampleGroup: Mapped[List["BLSampleGroup"]] = relationship( @@ -4507,6 +4513,10 @@ class Container(Base): source: Mapped[Optional[str]] = mapped_column( String(50), server_default=text("current_user()") ) + parentContainerLocation: Mapped[Optional[int]] = mapped_column( + INTEGER(10), + comment="Indicates where inside the parent container this container is located", + ) ContainerRegistry: Mapped["ContainerRegistry"] = relationship( "ContainerRegistry", back_populates="Container"