From a11815af82a84b45865fdf8cb6bc1f77b05c5bed Mon Sep 17 00:00:00 2001 From: Auxilor Date: Sun, 25 Aug 2024 21:57:57 +0100 Subject: [PATCH] Another reserved keyword --- .../spigot/data/handlers/impl/MySQLPersistentDataHandler.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 da1e9592..9eaac52e 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 @@ -231,7 +231,7 @@ class MySQLPersistentDataHandler( private abstract inner class ListKeyTable(name: String) : ProfileTable(name) { val key = varchar("dataKey", 128) - val index = integer("index") + val index = integer("listIndex") abstract val value: Column override val primaryKey = PrimaryKey(uuid, key, index)