Skip to content

Commit

Permalink
Remove user selectin in DBStats
Browse files Browse the repository at this point in the history
  • Loading branch information
Lekuruu committed Dec 19, 2023
1 parent 8489b3f commit 10408fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion database/objects.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ class DBStats(Base):

Index('stats_id_idx', user_id)

user = relationship('DBUser', back_populates='stats', lazy='selectin', join_depth=2)
user = relationship('DBUser', back_populates='stats')

def __init__(self, user_id: int, mode: int) -> None:
self.user_id = user_id
Expand Down

0 comments on commit 10408fb

Please sign in to comment.