Skip to content

Commit 9575c34

Browse files
committed
table inherit table
1 parent 8ac9fe2 commit 9575c34

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/murfey/util/db.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -407,7 +407,7 @@ class Tilt(SQLModel, table=True): # type: ignore
407407
tilt_series: Optional[TiltSeries] = Relationship(back_populates="tilts")
408408

409409

410-
class DataCollectionGroupModel(SQLModel): # type: ignore
410+
class DataCollectionGroupModel(SQLModel, table=True): # type: ignore
411411
id: int = Field(primary_key=True, unique=True)
412412
session_id: int = Field(foreign_key="session.id", primary_key=True)
413413
tag: str = Field(primary_key=True)

0 commit comments

Comments
 (0)