wouterdoeland
12/22/2017, 3:14 PMobject Players: IntIdTable() {
...
val clan = reference("clan", Clans).nullable()
...
}
and
object Clans: IntIdTable() {
...
val owner = reference("owner", Players).uniqueIndex()
...
}
Note that they are referencing each other.