forked from SteamWar/SteamWar
Refactor PersonalKitTable to use explicit ID column initialization and update create method to utilize insert operation.
Signed-off-by: Chaoscaot <max@maxsp.de>
This commit is contained in:
@@ -37,6 +37,8 @@ object PersonalKitTable: CompositeIdTable("PersonalKit") {
|
||||
val armor = text("Armor")
|
||||
val inUse = bool("InUse")
|
||||
|
||||
override val primaryKey = PrimaryKey(userId, gamemode, kitName)
|
||||
|
||||
init {
|
||||
addIdColumn(userId)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user