| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -36,7 +36,7 @@ class Hero(SQLModel, table=True): | |||
| 36 | 36 | team: Optional[Team] = Relationship(back_populates="heroes") | |
| 37 | 37 | ||
| 38 | 38 | weapon_id: Optional[int] = Field(default=None, foreign_key="weapon.id") | |
| 39 | - weapon: Optional[Weapon] = Relationship(back_populates="owner") | ||
| 39 | + weapon: Optional[Weapon] = Relationship(back_populates="hero") | ||
| 40 | 40 | ||
| 41 | 41 | powers: List[Power] = Relationship(back_populates="hero") | |
| 42 | 42 | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments