Fix New Databases (#2016)

* Standardize toSqlName

* Rename Meta Key db field since KEY is now a reserved name in H2

* Changelog entry

* Use toSqlName

* Forgot this key

* Catch any exception
This commit is contained in:
Mitchell Syer
2026-05-12 17:22:35 -04:00
committed by GitHub
parent c117d380a3
commit 03a95e6652
12 changed files with 60 additions and 26 deletions

View File

@@ -13,6 +13,6 @@ import org.jetbrains.exposed.v1.core.dao.id.IntIdTable
* Metadata storage for clients, server/global level.
*/
object GlobalMetaTable : IntIdTable() {
val key = varchar("key", 256)
val key = varchar("meta_key", 256)
val value = varchar("value", 4096)
}