Skip to content

Commit

Permalink
๐Ÿ—ƒ๏ธ JPA DDL Auto ์ถ”๊ฐ€ & Enum String ์ˆ˜์ •
Browse files Browse the repository at this point in the history
  • Loading branch information
jun108059 committed Jul 7, 2022
1 parent ccc0806 commit 949e705
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions api/src/main/resources/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ spring:
format_sql: true
show_sql: true
use_sql_comments: true
hbm2ddl:
auto: create

logging:
level:
Expand Down
1 change: 1 addition & 0 deletions core/src/main/java/hexagonal/core/domain/Member.java
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ public class Member {
private String email;

@Column(nullable = false, length = 30)
@Enumerated(EnumType.STRING)
private MemberType type;

/**
Expand Down

0 comments on commit 949e705

Please sign in to comment.