forked from SteamWar/SteamWar
Change api dependencies to compileOnlyApi in build.gradle.kts and rename KitName column to Name in PersonalKitTable.
Signed-off-by: Chaoscaot <max@maxsp.de>
This commit is contained in:
@@ -36,8 +36,8 @@ dependencies {
|
|||||||
implementation("org.yaml:snakeyaml:2.2")
|
implementation("org.yaml:snakeyaml:2.2")
|
||||||
|
|
||||||
compileOnlyApi("org.jetbrains.kotlin:kotlin-stdlib:2.2.21")
|
compileOnlyApi("org.jetbrains.kotlin:kotlin-stdlib:2.2.21")
|
||||||
api(libs.exposedCore)
|
compileOnlyApi(libs.exposedCore)
|
||||||
api(libs.exposedDao)
|
compileOnlyApi(libs.exposedDao)
|
||||||
api(libs.exposedJdbc)
|
compileOnlyApi(libs.exposedJdbc)
|
||||||
api(libs.exposedTime)
|
compileOnlyApi(libs.exposedTime)
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -31,7 +31,7 @@ import org.jetbrains.exposed.v1.dao.CompositeEntityClass
|
|||||||
object PersonalKitTable: CompositeIdTable("PersonalKit") {
|
object PersonalKitTable: CompositeIdTable("PersonalKit") {
|
||||||
val userId = reference("UserId", SteamwarUserTable)
|
val userId = reference("UserId", SteamwarUserTable)
|
||||||
val gamemode = varchar("Gamemode", 64)
|
val gamemode = varchar("Gamemode", 64)
|
||||||
val kitName = varchar("KitName", 64)
|
val kitName = varchar("Name", 64)
|
||||||
val inventory = text("Inventory")
|
val inventory = text("Inventory")
|
||||||
val armor = text("Armor")
|
val armor = text("Armor")
|
||||||
val inUse = bool("InUse")
|
val inUse = bool("InUse")
|
||||||
|
|||||||
Reference in New Issue
Block a user