Skip to content

Commit 729bd37

Browse files
authored
Merge pull request runtiime#90 from username056/feat/recipe-image-upload
feat: s3Url 필드 @lob@column(length = 2048) 설정으로 URL 길이 확장 대응
2 parents 5afcb23 + 79c942b commit 729bd37

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

  • yechef/src/main/java/sejong/capston/yechef/domain/Image

yechef/src/main/java/sejong/capston/yechef/domain/Image/Image.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ public class Image {
1515
@GeneratedValue(strategy = GenerationType.IDENTITY)
1616
private Long id;
1717

18+
@Lob
19+
@Column(length = 2048)
1820
private String s3Url;
1921
private String s3Key; // ← 키는 동적으로 외부에서 생성해서 주입해야 함
2022

0 commit comments

Comments
 (0)