diff --git a/src/main/kotlin/org/gitanimals/render/domain/Persona.kt b/src/main/kotlin/org/gitanimals/render/domain/Persona.kt index e22ccb3..da8f6a1 100644 --- a/src/main/kotlin/org/gitanimals/render/domain/Persona.kt +++ b/src/main/kotlin/org/gitanimals/render/domain/Persona.kt @@ -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(