Skip to content

Commit

Permalink
Merge pull request #82 from wafflestudio/feat/room-idempotency
Browse files Browse the repository at this point in the history
Fixed field name & set field length for PK length limit for Room idempotency
  • Loading branch information
JunBye authored Jan 10, 2025
2 parents 276a433 + 56e3a78 commit 31516a4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ import java.time.Instant
name = "rooms",
uniqueConstraints = [
UniqueConstraint(
columnNames = ["name", "type", "address_sido", "address_sigungu", "address_street", "address_detail"]
columnNames = ["detail"]
)
]
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,6 @@ class RoomConcurrencyTest {
latch.await()

val rooms = roomRepository.findAll()
assertEquals(2, rooms.size)
assertEquals(1, rooms.size)
}
}

0 comments on commit 31516a4

Please sign in to comment.