Merge branch 'be/feat/217-image' into 'be/develop'

Refactor: 이미지 최상위 폴더가 null이 가능하도록 수정 S11P21S002-217

See merge request s11-s-project/S11P21S002!134
This commit is contained in:
홍창기 2024-09-23 15:23:10 +09:00
commit 57c30d04e9

View File

@ -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;