Add ID column initialization for BauweltMember
All checks were successful
SteamWarCI Build successful
All checks were successful
SteamWarCI Build successful
Signed-off-by: Chaoscaot <max@maxsp.de>
This commit is contained in:
@@ -39,6 +39,11 @@ object BauweltMemberTable: CompositeIdTable("BauweltMember") {
|
|||||||
val world = bool("World")
|
val world = bool("World")
|
||||||
|
|
||||||
override val primaryKey = PrimaryKey(bauweltId, memberId)
|
override val primaryKey = PrimaryKey(bauweltId, memberId)
|
||||||
|
|
||||||
|
init {
|
||||||
|
addIdColumn(bauweltId)
|
||||||
|
addIdColumn(memberId)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
class BauweltMember(id: EntityID<CompositeID>): CompositeEntity(id) {
|
class BauweltMember(id: EntityID<CompositeID>): CompositeEntity(id) {
|
||||||
|
|||||||
Reference in New Issue
Block a user