object StarWarsFilms : IdTable<Int> {
override val id = ....
}
k
Kevin Schmeichel
04/24/2019, 9:05 PM
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:
Kevin Schmeichel
04/24/2019, 9:06 PM
Copy code
override val id = integer("film_id").autoIncrement().primaryKey().entityId()