From 16c890ae0e6e8e6abb3050fc5339db003590d241 Mon Sep 17 00:00:00 2001 From: pricelees Date: Sun, 14 Sep 2025 16:08:41 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20store=20=ED=85=8C=EC=9D=B4=EB=B8=94?= =?UTF-8?q?=EC=97=90=EC=84=9C=20=EC=82=AC=EC=97=85=EC=9E=90=EB=93=B1?= =?UTF-8?q?=EB=A1=9D=EB=B2=88=ED=98=B8=20=EC=BB=AC=EB=9F=BC=20=EA=B8=B8?= =?UTF-8?q?=EC=9D=B4=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/resources/schema/schema-h2.sql | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/resources/schema/schema-h2.sql b/src/main/resources/schema/schema-h2.sql index 2e60a987..cbcb63fd 100644 --- a/src/main/resources/schema/schema-h2.sql +++ b/src/main/resources/schema/schema-h2.sql @@ -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(