k
-.kt
t
It's better to use IntIdTable
object StarWarsFilms: IntIdTable()
or if you want to define your own id
Copy code
object StarWarsFilms : IdTable<Int> {
override val id = ....
}
k
thanks for the response. my tables don't use "id" as the primary key, and I couldn't figure out what the above override should look like, but figured it out:
Copy code
override val id =  integer("film_id").autoIncrement().primaryKey().entityId()