diff --git a/eco-core/core-plugin/src/main/kotlin/com/willfp/eco/internal/spigot/data/handlers/impl/MySQLPersistentDataHandler.kt b/eco-core/core-plugin/src/main/kotlin/com/willfp/eco/internal/spigot/data/handlers/impl/MySQLPersistentDataHandler.kt index 54b223c6..da1e9592 100644 --- a/eco-core/core-plugin/src/main/kotlin/com/willfp/eco/internal/spigot/data/handlers/impl/MySQLPersistentDataHandler.kt +++ b/eco-core/core-plugin/src/main/kotlin/com/willfp/eco/internal/spigot/data/handlers/impl/MySQLPersistentDataHandler.kt @@ -49,38 +49,38 @@ class MySQLPersistentDataHandler( init { PersistentDataKeyType.STRING.registerSerializer(this, object : DirectStoreSerializer() { override val table = object : KeyTable("string") { - override val value = varchar("value", 256) + override val value = varchar("profileValue", 256) } }.createTable()) PersistentDataKeyType.BOOLEAN.registerSerializer(this, object : DirectStoreSerializer() { override val table = object : KeyTable("boolean") { - override val value = bool("value") + override val value = bool("profileValue") } }.createTable()) PersistentDataKeyType.INT.registerSerializer(this, object : DirectStoreSerializer() { override val table = object : KeyTable("int") { - override val value = integer("value") + override val value = integer("profileValue") } }.createTable()) PersistentDataKeyType.DOUBLE.registerSerializer(this, object : DirectStoreSerializer() { override val table = object : KeyTable("double") { - override val value = double("value") + override val value = double("profileValue") } }.createTable()) PersistentDataKeyType.BIG_DECIMAL.registerSerializer(this, object : DirectStoreSerializer() { override val table = object : KeyTable("big_decimal") { // 34 digits of precision, 4 digits of scale - override val value = decimal("value", 34, 4) + override val value = decimal("profileValue", 34, 4) } }.createTable()) PersistentDataKeyType.CONFIG.registerSerializer(this, object : SingleValueSerializer() { override val table = object : KeyTable("config") { - override val value = text("value") + override val value = text("profileValue") } override fun convertFromStored(value: String): Config { @@ -99,7 +99,7 @@ class MySQLPersistentDataHandler( PersistentDataKeyType.STRING_LIST.registerSerializer(this, object : MultiValueSerializer() { override val table = object : ListKeyTable("string_list") { - override val value = varchar("value", 256) + override val value = varchar("profileValue", 256) } }.createTable()) }