Default room image order fields to 0
All checks were successful
build-and-deploy / build-deploy (push) Successful in 32s

This commit is contained in:
androidlover5842
2026-01-27 16:14:09 +05:30
parent 518a5bb359
commit 95e5d685c5
3 changed files with 6 additions and 6 deletions

View File

@@ -45,10 +45,10 @@ class RoomImage(
var tags: MutableSet<String> = mutableSetOf(),
@Column(name = "sort_order")
var roomSortOrder: Int? = null,
var roomSortOrder: Int = 0,
@Column(name = "room_type_sort_order")
var roomTypeSortOrder: Int? = null,
var roomTypeSortOrder: Int = 0,
@Column(name = "created_at", nullable = false, columnDefinition = "timestamptz")
val createdAt: OffsetDateTime = OffsetDateTime.now()