generated from pricelees/issue-pr-template
feat: region 스키마 및 초기 데이터 sql 추가
This commit is contained in:
parent
5fe1427fc1
commit
b1a2a7bff1
2988
src/main/resources/schema/region-data.sql
Normal file
2988
src/main/resources/schema/region-data.sql
Normal file
File diff suppressed because it is too large
Load Diff
@ -1,3 +1,13 @@
|
|||||||
|
create table if not exists region (
|
||||||
|
code varchar(10) primary key,
|
||||||
|
sido_code varchar(2) not null,
|
||||||
|
sigungu_code varchar(3) not null,
|
||||||
|
dong_code varchar(5) not null ,
|
||||||
|
sido_name varchar(20) not null,
|
||||||
|
sigungu_name varchar(20) not null,
|
||||||
|
dong_name varchar(20) not null
|
||||||
|
);
|
||||||
|
|
||||||
create table if not exists members (
|
create table if not exists members (
|
||||||
member_id bigint primary key,
|
member_id bigint primary key,
|
||||||
email varchar(255) not null,
|
email varchar(255) not null,
|
||||||
|
|||||||
@ -1,3 +1,13 @@
|
|||||||
|
create table if not exists region (
|
||||||
|
code varchar(10) primary key,
|
||||||
|
sido_code varchar(2) not null,
|
||||||
|
sigungu_code varchar(3) not null,
|
||||||
|
dong_code varchar(5) not null ,
|
||||||
|
sido_name varchar(20) not null,
|
||||||
|
sigungu_name varchar(20) not null,
|
||||||
|
dong_name varchar(20) not null
|
||||||
|
);
|
||||||
|
|
||||||
create table if not exists members
|
create table if not exists members
|
||||||
(
|
(
|
||||||
member_id bigint primary key,
|
member_id bigint primary key,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user