Skip to content

Commit

Permalink
hotfix : create + schedules_id 로 고정
Browse files Browse the repository at this point in the history
  • Loading branch information
Dayon-Hong committed Mar 9, 2024
1 parent 6f82e2b commit 6e0270e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ public class Image extends BaseEntity {
private Long id;

// @ManyToOne(fetch = FetchType.LAZY)
// @JoinColumn(name = "schedule_id", nullable = false)
// @JoinColumn(name = "schedules_id", nullable = false)
// private Schedules schedules;

@Column(name = "image_name")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ public class Receipt extends BaseEntity {
private Long id;

// @ManyToOne(fetch = FetchType.LAZY)
// @JoinColumn(name = "schedule_id", nullable = false)
// @JoinColumn(name = "schedules_id", nullable = false)
// private Schedules schedules;

@Column(name = "title")
Expand Down
2 changes: 1 addition & 1 deletion backend/src/main/resources/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ spring:
show-sql: true
database-platform: org.hibernate.dialect.MySQL8Dialect
hibernate:
ddl-auto: update
ddl-auto: create
datasource:
driver-class-name: com.mysql.cj.jdbc.Driver
url: ${DB_URL}
Expand Down

0 comments on commit 6e0270e

Please sign in to comment.