Skip to content

Commit

Permalink
fix: uuidカラムを追加し忘れていたので追加
Browse files Browse the repository at this point in the history
  • Loading branch information
rito528 committed Oct 7, 2023
1 parent 1f1215c commit 7375536
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ class JdbcVoteRankingRecordPersistence[F[_]: Sync]
extends RankingRecordPersistence[F, VoteCount] {
override def getAllRankingRecords: F[Vector[RankingRecord[VoteCount]]] = Sync[F].delay {
DB.readOnly { implicit session =>
sql"SELECT playerdata.name,vote_number FROM vote INNER JOIN playerdata ON vote.uuid = playerdata.uuid"
sql"SELECT playerdata.name, playerdata.uuid, vote_number FROM vote INNER JOIN playerdata ON vote.uuid = playerdata.uuid"
.map { rs =>
RankingRecord(
rs.string("name"),
Expand Down

0 comments on commit 7375536

Please sign in to comment.