Skip to content

Commit

Permalink
refactor: persona에 version 필드를 추가하낟
Browse files Browse the repository at this point in the history
  • Loading branch information
devxb committed May 11, 2024
1 parent c5037c2 commit 54ed65e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/main/kotlin/org/gitanimals/render/domain/Persona.kt
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,10 @@ class Persona(
@JoinColumn(name = "user_id")
@ManyToOne(fetch = FetchType.LAZY, optional = false)
var user: User? = null,

@Version
@Column(name = "version", nullable = false)
var version: Long? = null,
) : AbstractTime() {

constructor(
Expand Down

0 comments on commit 54ed65e

Please sign in to comment.