adding user and path association model

This commit is contained in:
Jack Case
2025-10-26 11:26:41 -04:00
parent e1a392a0bf
commit f8371f9654
2 changed files with 51 additions and 0 deletions

View File

@@ -43,6 +43,10 @@ class User(SQLModel, table=True):
email_verified: bool = Field(default=False)
class Report(SQLModel, table=True):
path_id: int | None = Field(default=None, primary_key=True, foreign_key="path.id")
user_id: int | None = Field(default=None, primary_key=True, foreign_key="user.id")
################################################
# API Models
################################################