Just try scripting K2 with 2.1.20, still some bug....
# scripting
w
Just try scripting K2 with 2.1.20, still some bug. Script like this
Copy code
object TableVersion : IdTable<String>("TableVersion") {
    // can't use `text` as h2db don't support for primaryKey
    override val id: Column<EntityID<String>> = varchar("table", 64).entityId()
    override val primaryKey: PrimaryKey = PrimaryKey(id) // h2database#2191
    //...
}
will complain
PrimaryKey
class (inner class of Table) is not found. This example works with
-language-version=1.9
i
Please, report the issue