You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'USER not null,
a_uuid varchar(50) not null,
@ColumnDefault 어노테이션 제거.
@Enumerated(EnumType.STRING)
@Column(name= "a_role", nullable = false, length = 20)
private Role role;
DTO 에서 Entity로 변환 시에 Role 을 초기화 해주는 방식으로 로직 수정.
public AuthUser toEntity(CreateUserRequestDto createUserRequestDto) {
String email = createUserRequestDto.getEmail();
String password = createUserRequestDto.getPw();
String uuid = createUserRequestDto.getUuid();
return AuthUser.builder()
.email(email)
.password(password)
.uuid(uuid)
.role(Role.USER)
.build();
}