Kevin Schmeichel
04/24/2019, 6:49 PMtapac
04/24/2019, 8:45 PMobject StarWarsFilms: IntIdTable()
or if you want to define your own id
object StarWarsFilms : IdTable<Int> {
override val id = ....
}
Kevin Schmeichel
04/24/2019, 9:05 PMKevin Schmeichel
04/24/2019, 9:06 PMoverride val id = integer("film_id").autoIncrement().primaryKey().entityId()