Skip to content

Commit

Permalink
[Fix] filePath가 길어질 때의 오류 해결
Browse files Browse the repository at this point in the history
파일 이름이 길면 VARCHAR(255)를 넘어 에러발생하는 문제 해결
  • Loading branch information
ibaesuyeon committed Jun 5, 2024
1 parent de0ab96 commit def56aa
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,13 @@ public class PostFile {
@GeneratedValue(strategy = GenerationType.IDENTITY)
private Long id;

@Column(length=1000)
private String fileName;

@Column(length=1000)
private String filePath;

@Column(length=1000)
private String s3key;

@Nullable
Expand Down

0 comments on commit def56aa

Please sign in to comment.