fix: rw fetching + addon orm refreshing
This commit is contained in:
@@ -37,7 +37,4 @@ class User(Base):
|
||||
"Subscription", back_populates="user", lazy="selectin"
|
||||
)
|
||||
sessions: Mapped[list["Session"]] = relationship(back_populates="user", lazy="selectin")
|
||||
referal: Mapped["User | None"] = relationship(
|
||||
"User",
|
||||
remote_side=[id],
|
||||
)
|
||||
referal: Mapped["User | None"] = relationship("User", remote_side=[id], lazy="selectin")
|
||||
|
||||
Reference in New Issue
Block a user