hot fix v2

This commit is contained in:
KP9lK 2025-06-11 13:26:59 +03:00
parent 5f216093fd
commit 577377bcbf
3 changed files with 3 additions and 3 deletions

View File

@ -8,6 +8,6 @@ object AddressTable: Table("user_address") {
val entrance = integer("address_entrance")
val floor = integer("address_floor")
val apartment = integer("address_apartment")
val comment = text("address_comment")
val comment = text("address_comment").nullable()
override val primaryKey: PrimaryKey = PrimaryKey(id)
}

View File

@ -8,5 +8,5 @@ data class AddAddressRequest(
val entrance: Int,
val floor: Int,
val apartment: Int,
val comment: String
val comment: String? = null,
)

View File

@ -11,6 +11,6 @@ data class AddressResponse(
val entrance: Int,
val floor: Int,
val apartment: Int,
val comment: String,
val comment: String?,
val address: String,
)