diff --git a/CommonCore/SQL/src/de/steamwar/sql/Team.kt b/CommonCore/SQL/src/de/steamwar/sql/Team.kt index e02fe6e5..086dc81a 100644 --- a/CommonCore/SQL/src/de/steamwar/sql/Team.kt +++ b/CommonCore/SQL/src/de/steamwar/sql/Team.kt @@ -31,10 +31,10 @@ import org.jetbrains.exposed.v1.jdbc.select object TeamTable : IntIdTable("Team", "TeamID") { val kuerzel = varchar("TeamKuerzel", 10) - val color = char("TeamColor", 1) + val color = char("TeamColor", 1).default("8") val name = varchar("TeamName", 16) - val deleted = bool("TeamDeleted") - val address = text("Address") + val deleted = bool("TeamDeleted").default(false) + val address = text("Address").nullable() val port = ushort("Port") }