Is it possible for me to somehow make two Tables with the same structure without copying the code?
t
tapac
09/22/2020, 12:55 PM
Copy code
open class BaseFileHashTable(name: String) : IntIdTable(name) {
val rowIdTable = integer("rowId")
val rowHash = varchar("rowHash", 255)
}
object Old : BaseFileHashTable("old_hash")
object New : BaseFileHashTable("new_hash")