generated from pricelees/issue-pr-template
fix: store 테이블에서 사업자등록번호 컬럼 길이 수정
This commit is contained in:
parent
55abbdab6a
commit
16c890ae0e
@ -12,14 +12,14 @@ create table if not exists store(
|
|||||||
id bigint primary key,
|
id bigint primary key,
|
||||||
name varchar(20) not null,
|
name varchar(20) not null,
|
||||||
address varchar(100) not null,
|
address varchar(100) not null,
|
||||||
business_reg_num varchar(10) not null,
|
business_reg_num varchar(12) not null,
|
||||||
region_code varchar(10) not null,
|
region_code varchar(10) not null,
|
||||||
|
|
||||||
created_at timestamp not null,
|
created_at timestamp not null,
|
||||||
updated_at timestamp not null,
|
updated_at timestamp not null,
|
||||||
|
|
||||||
constraint uk_store__business_reg_num unique (business_reg_num),
|
constraint uk_store__business_reg_num unique (business_reg_num),
|
||||||
constraint fk_store__sido_code foreign key (region_code) references region (code)
|
constraint fk_store__region_code foreign key (region_code) references region (code)
|
||||||
);
|
);
|
||||||
|
|
||||||
create table if not exists room(
|
create table if not exists room(
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user