feat: add result change log entities

This commit is contained in:
Tim
2025-09-08 13:54:35 +08:00
parent 567452f570
commit 5ae0f9311c
9 changed files with 80 additions and 4 deletions

View File

@@ -23,7 +23,7 @@ public abstract class PostChangeLog {
@JoinColumn(name = "post_id")
private Post post;
@ManyToOne(fetch = FetchType.LAZY, optional = false)
@ManyToOne(fetch = FetchType.LAZY, optional = true)
@JoinColumn(name = "user_id")
private User user;