We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eddb24d commit baf8766Copy full SHA for baf8766
1 file changed
backend/app/models.py
@@ -47,6 +47,7 @@ class User(UserBase, table=True):
47
id: uuid.UUID = Field(default_factory=uuid.uuid4, primary_key=True)
48
hashed_password: str
49
items: list["Item"] = Relationship(back_populates="owner", cascade_delete=True)
50
+ tickets: list["Ticket"] = Relationship(back_populates="user", cascade_delete=True)
51
52
53
# Properties to return via API, id is always required
0 commit comments