Skip to content

Commit 0ff8926

Browse files
committed
fix: make well_id field optional in nma_legacy model
1 parent 5c7b730 commit 0ff8926

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

db/nma_legacy.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -177,6 +177,7 @@ class NMA_HydraulicsData(Base):
177177
global_id: Mapped[uuid.UUID] = mapped_column(
178178
"GlobalID", UUID(as_uuid=True), primary_key=True
179179
)
180+
well_id: Mapped[Optional[uuid.UUID]] = mapped_column("WellID", UUID(as_uuid=True))
180181
point_id: Mapped[Optional[str]] = mapped_column("PointID", String(50))
181182
data_source: Mapped[Optional[str]] = mapped_column("Data Source", String(255))
182183
thing_id: Mapped[int] = mapped_column(

0 commit comments

Comments
 (0)