Skip to content

Commit

Permalink
fix: columnDefinition 제거 (#68)
Browse files Browse the repository at this point in the history
  • Loading branch information
juno-junho authored Sep 27, 2023
1 parent 26aea6c commit da3f603
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ public class Information {
private static final String DEFAULT_VALUE = "EMPTY";
private static final int MIN_INFO_LENGTH = 10;

@Column(columnDefinition = "TEXT default 'EMPTY'")
@Column
private String info = DEFAULT_VALUE;

public Information(String info) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ public class PhoneNumber {
private static final String DEFAULT_VALUE = "NOT_SELECTED";
private static final String REGEX = "^01([0|1|6|7|8|9])-?([0-9]{3,4})-?([0-9]{4})$";

@Column(columnDefinition = "TEXT default 'NOT_SELECTED'")
@Column
private String tel = DEFAULT_VALUE;

public PhoneNumber(String phoneNumber) {
Expand Down

0 comments on commit da3f603

Please sign in to comment.