Refactor: 이미지 최상위 폴더가 null이 가능하도록 수정 S11P21S002-217
This commit is contained in:
parent
a337b8cde2
commit
f8e211db7a
@ -51,7 +51,7 @@ public class Image extends BaseEntity {
|
||||
* 속한 폴더
|
||||
*/
|
||||
@ManyToOne(fetch = FetchType.LAZY)
|
||||
@JoinColumn(name = "folder_id", nullable = false)
|
||||
@JoinColumn(name = "folder_id", nullable = true)
|
||||
@JsonIgnore
|
||||
private Folder folder;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user