Skip to content

Commit

Permalink
fix: image url 경로 최대 길이 수정 (#90)
Browse files Browse the repository at this point in the history
  • Loading branch information
Ho-Tea authored Jan 23, 2025
1 parent e2aa569 commit fea7301
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ public class AdvertisementJpaEntity {
@GeneratedValue(strategy = GenerationType.IDENTITY)
private Long id;

@Column(nullable = false)
@Column(nullable = false, columnDefinition = "TEXT")
private String imageUrl;

@Column(nullable = false)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ public class LessonImageJpaEntity extends BaseCreatedAtEntity {
@Column(nullable = false)
private Long lessonId;

@Column(nullable = false)
@Column(nullable = false, columnDefinition = "TEXT")
private String imageUrl;

public LessonImageJpaEntity(Long lessonId, String imageUrl) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ public class LessonVideoJpaEntity extends BaseCreatedAtEntity {
@Column(nullable = false)
private Long lessonId;

@Column(nullable = false)
@Column(nullable = false, columnDefinition = "TEXT")
private String videoUrl;

public LessonVideoJpaEntity(Long lessonId, String videoUrl) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ public class StudentJpaEntity extends BaseTimeEntity {
@JoinColumn(name = "member_id")
private MemberJpaEntity member;

@Column(nullable = false)
@Column(nullable = false, columnDefinition = "TEXT")
private String profileImageUrl;

@Column(nullable = false)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ public class TeacherImageJpaEntity extends BaseCreatedAtEntity {
@JoinColumn(name = "teacher_id")
private TeacherJpaEntity teacher;

@Column(nullable = false)
@Column(nullable = false, columnDefinition = "TEXT")
private String imageUrl;

@Builder
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,10 @@ public class TeacherJpaEntity extends BaseTimeEntity {
@Column(nullable = true)
private String experience;

@Column(nullable = true, unique = true)
@Column(nullable = true, unique = true, columnDefinition = "TEXT")
private String instagram;

@Column(nullable = true, unique = true)
@Column(nullable = true, unique = true, columnDefinition = "TEXT")
private String youtube;

@Builder
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ public class TeacherVideoJpaEntity extends BaseTimeEntity {
private TeacherJpaEntity teacher;

@Getter
@Column(nullable = false)
@Column(nullable = false, columnDefinition = "TEXT")
private String videoUrl;

}

0 comments on commit fea7301

Please sign in to comment.