generated from pricelees/issue-pr-template
[#34] 회원 / 인증 도메인 재정의 #43
@ -24,7 +24,7 @@ create table if not exists users(
|
|||||||
email varchar(255) not null,
|
email varchar(255) not null,
|
||||||
password varchar(255) not null,
|
password varchar(255) not null,
|
||||||
phone varchar(20) not null,
|
phone varchar(20) not null,
|
||||||
region_code varchar(10) not null,
|
region_code varchar(10) null,
|
||||||
status varchar(20) not null,
|
status varchar(20) not null,
|
||||||
created_at timestamp not null,
|
created_at timestamp not null,
|
||||||
created_by bigint not null,
|
created_by bigint not null,
|
||||||
|
|||||||
@ -72,7 +72,7 @@ object UserFixture {
|
|||||||
email: String = "sample@example.com",
|
email: String = "sample@example.com",
|
||||||
password: String = "a".repeat(MIN_PASSWORD_LENGTH),
|
password: String = "a".repeat(MIN_PASSWORD_LENGTH),
|
||||||
phone: String = "01012345678",
|
phone: String = "01012345678",
|
||||||
regionCode: String = "1130510300",
|
regionCode: String? = null,
|
||||||
status: UserStatus = UserStatus.ACTIVE
|
status: UserStatus = UserStatus.ACTIVE
|
||||||
): UserEntity = UserEntity(
|
): UserEntity = UserEntity(
|
||||||
id = id,
|
id = id,
|
||||||
@ -89,7 +89,7 @@ object UserFixture {
|
|||||||
email = "sample@example.com",
|
email = "sample@example.com",
|
||||||
password = "a".repeat(MIN_PASSWORD_LENGTH),
|
password = "a".repeat(MIN_PASSWORD_LENGTH),
|
||||||
phone = "01012345678",
|
phone = "01012345678",
|
||||||
regionCode = "1130510300"
|
regionCode = null
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user