second review

This commit is contained in:
counterweight 2025-12-20 11:58:35 +01:00
parent 23049da55a
commit 976a880312
Signed by: counterweight
GPG key ID: 883EDBAA726BD96C
7 changed files with 105 additions and 65 deletions

View file

@ -206,7 +206,7 @@ class Invite(Base):
godfather: Mapped[User] = relationship(
"User",
foreign_keys=[godfather_id],
lazy="selectin",
lazy="joined",
)
# User who used this invite (null until spent)
@ -216,7 +216,7 @@ class Invite(Base):
used_by: Mapped[User | None] = relationship(
"User",
foreign_keys=[used_by_id],
lazy="selectin",
lazy="joined",
)
# Timestamps