message to future me

This commit is contained in:
Jörn-Michael Miehe 2022-03-28 00:59:53 +00:00
parent 89069c9d0f
commit 396359ceff

View file

@ -31,6 +31,8 @@ class Device(DeviceBase, table=True):
id: int | None = Field(primary_key=True)
owner_name: str | None = Field(foreign_key="user.name")
# no idea, but "User" (in quotes) doesn't work here
# might be a future problem?
owner: User = Relationship(
back_populates="devices",
)