John Pena
04/13/2021, 2:48 PMimport org.jetbrains.exposed.dao.id.IntIdTable
enum class MyEnum(val v: String) {
A("A"),
B("B"),
C("C"),
}
object MyTable : IntIdTable(name = "table") {
val v = enumeration("v", MyEnum::class)
}
i get an error like this:
A of kotlin.String is not valid for enum MyEnum