Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 11 additions & 1 deletion src/ispyb/sqlalchemy/_auto_db_schema.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
__schema_version__ = "4.8.0"
__schema_version__ = "4.9.0"
import datetime
import decimal
from typing import List, Optional
Expand Down Expand Up @@ -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(
Expand Down Expand Up @@ -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"
Expand Down