From fcebecf74556930511f189f978f08af9d3a359a9 Mon Sep 17 00:00:00 2001 From: Chaoscaot Date: Sun, 9 Nov 2025 17:48:02 +0100 Subject: [PATCH] Add `placement` column to `TeamTeilnahme` table and corresponding property. Signed-off-by: Chaoscaot --- CommonCore/SQL/src/de/steamwar/sql/TeamTeilnahme.kt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CommonCore/SQL/src/de/steamwar/sql/TeamTeilnahme.kt b/CommonCore/SQL/src/de/steamwar/sql/TeamTeilnahme.kt index b46e3dd0..4a278aef 100644 --- a/CommonCore/SQL/src/de/steamwar/sql/TeamTeilnahme.kt +++ b/CommonCore/SQL/src/de/steamwar/sql/TeamTeilnahme.kt @@ -34,6 +34,7 @@ import org.jetbrains.exposed.v1.jdbc.insertIgnore object TeamTeilnahmeTable : CompositeIdTable("TeamTeilnahme") { val teamId = reference("teamId", TeamTable) val eventId = reference("eventId", EventTable) + val placement = integer("Placement").nullable() override val primaryKey = PrimaryKey(teamId, eventId) @@ -84,4 +85,5 @@ class TeamTeilnahme(id: EntityID) : CompositeEntity(id) { val teamId by TeamTeilnahmeTable.teamId val eventId by TeamTeilnahmeTable.eventId + var placement by TeamTeilnahmeTable.placement } \ No newline at end of file