fix: store 테이블에서 사업자등록번호 컬럼 길이 수정

This commit is contained in:
이상진 2025-09-14 16:08:41 +09:00
parent 55abbdab6a
commit 16c890ae0e

View File

@ -12,14 +12,14 @@ create table if not exists store(
id bigint primary key,
name varchar(20) 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,
created_at timestamp not null,
updated_at timestamp not null,
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(