|
1 | | -__schema_version__ = "4.8.0" |
| 1 | +__schema_version__ = "4.9.0" |
2 | 2 | import datetime |
3 | 3 | import decimal |
4 | 4 | from typing import List, Optional |
@@ -2235,6 +2235,12 @@ class Proposal(Base): |
2235 | 2235 | state: Mapped[Optional[str]] = mapped_column( |
2236 | 2236 | Enum("Open", "Closed", "Cancelled"), server_default=text("'Open'") |
2237 | 2237 | ) |
| 2238 | + startDate: Mapped[Optional[datetime.datetime]] = mapped_column( |
| 2239 | + DateTime, comment="Start of the allocation period" |
| 2240 | + ) |
| 2241 | + endDate: Mapped[Optional[datetime.datetime]] = mapped_column( |
| 2242 | + DateTime, comment="End of the allocation period" |
| 2243 | + ) |
2238 | 2244 |
|
2239 | 2245 | Person: Mapped["Person"] = relationship("Person", back_populates="Proposal") |
2240 | 2246 | BLSampleGroup: Mapped[List["BLSampleGroup"]] = relationship( |
@@ -4507,6 +4513,10 @@ class Container(Base): |
4507 | 4513 | source: Mapped[Optional[str]] = mapped_column( |
4508 | 4514 | String(50), server_default=text("current_user()") |
4509 | 4515 | ) |
| 4516 | + parentContainerLocation: Mapped[Optional[int]] = mapped_column( |
| 4517 | + INTEGER(10), |
| 4518 | + comment="Indicates where inside the parent container this container is located", |
| 4519 | + ) |
4510 | 4520 |
|
4511 | 4521 | ContainerRegistry: Mapped["ContainerRegistry"] = relationship( |
4512 | 4522 | "ContainerRegistry", back_populates="Container" |
|
0 commit comments