message to future me
This commit is contained in:
parent
89069c9d0f
commit
396359ceff
1 changed files with 2 additions and 0 deletions
|
@ -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",
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue