Is it possible for me to somehow make two Tables w...
# exposed
m
Is it possible for me to somehow make two Tables with the same structure without copying the code?
t
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")
👆 1
m
ohhh Thank you very very much
i completely forgot about open class