forked from SteamWar/SteamWar
@@ -44,6 +44,10 @@ object LeaderboardTable : CompositeIdTable("Leaderboard") {
|
|||||||
val bestTime = bool("BestTime")
|
val bestTime = bool("BestTime")
|
||||||
|
|
||||||
override val primaryKey = PrimaryKey(userId, name)
|
override val primaryKey = PrimaryKey(userId, name)
|
||||||
|
|
||||||
|
init {
|
||||||
|
addIdColumn(userId)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
class Leaderboard(id: EntityID<CompositeID>) : CompositeEntity(id) {
|
class Leaderboard(id: EntityID<CompositeID>) : CompositeEntity(id) {
|
||||||
|
|||||||
Reference in New Issue
Block a user