Skip to content

Commit

Permalink
Fix ratings relationship
Browse files Browse the repository at this point in the history
  • Loading branch information
Lekuruu committed Dec 6, 2023
1 parent fa548e1 commit 52bc606
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 @@ -399,7 +399,7 @@ class DBBeatmap(Base):
Index('beatmaps_filename_idx', filename)

beatmapset = relationship('DBBeatmapset', back_populates='beatmaps', lazy='selectin', join_depth=2)
ratings = relationship('DBRating', back_populates='beatmap', join_depth=2)
ratings = relationship('DBRating', back_populates='beatmap', lazy='selectin' join_depth=2)
scores = relationship('DBScore', back_populates='beatmap', join_depth=2)
plays = relationship('DBPlay', back_populates='beatmap', join_depth=2)

Expand Down

0 comments on commit 52bc606

Please sign in to comment.