From 9b459bd12c14a37b3c0fa970f12e43e31f8e8b6b Mon Sep 17 00:00:00 2001 From: Chaoscaot Date: Mon, 10 Nov 2025 11:40:34 +0100 Subject: [PATCH] Refactor `PersonalKitTable` to use explicit ID column initialization and update `create` method to utilize `insert` operation. Signed-off-by: Chaoscaot --- CommonCore/SQL/src/de/steamwar/sql/PersonalKit.kt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CommonCore/SQL/src/de/steamwar/sql/PersonalKit.kt b/CommonCore/SQL/src/de/steamwar/sql/PersonalKit.kt index 5e369415..cbe97fd7 100644 --- a/CommonCore/SQL/src/de/steamwar/sql/PersonalKit.kt +++ b/CommonCore/SQL/src/de/steamwar/sql/PersonalKit.kt @@ -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) }