Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

map-service 관련 테이블 정보 #14

Open
tlsdhsdb opened this issue Jul 19, 2022 · 0 comments
Open

map-service 관련 테이블 정보 #14

tlsdhsdb opened this issue Jul 19, 2022 · 0 comments
Assignees
Labels

Comments

@tlsdhsdb
Copy link
Contributor

tlsdhsdb commented Jul 19, 2022

Information

name type option comment
id (pk) int not null,auto increment 음식점 id
name varchar(100) not null 음식점명
gubun varchar(50) not null 음식점 분류
gugun varchar(50) not null 구명
lat DECIMAL(16,14) not null 위도
lng DECIMAL(16,14) not null 경도
cntct varchar(100) not null 전화번호
homepage_url varchar(255)   식당홈페이지 주소
usage_of_week_and_time varchar(100)   식당 영업 시간
address varchar(100) not null 식당 주소
create table information(
		            id INT NOT NULL AUTO_INCREMENT COMMENT '음식점 ID',
                            name VARCHAR(100) NOT NULL COMMENT '음식점명',
                            gubun VARCHAR(50) NOT NULL COMMENT '음식점 분류',
                            gugun VARCHAR(50) NOT NULL COMMENT '구명' ,
                            lat DECIMAL(16,14) NOT NULL COMMENT '위도',
                            lng DECIMAL(17,14) NOT NULL COMMENT '경도',
                            cntct VARCHAR(100) NOT NULL COMMENT '전화번호',
                            homepage_url VARCHAR(255) COMMENT '식당 홈페이지 주소',
                            usage_of_week_and_time VARCHAR(100) COMMENT '식당영업시간',
                            address VARCHAR(100) NOT NULL COMMENT '식당주소',

                            PRIMARY KEY (id)
)

tour_information

name type option comment
id (pk) int not null,auto increment id
contentId (pk) int not null 투어api id
title varchar(50) not null 전화번호
readCount int not null 데이터가 읽힌 횟수
gubun varchar(10) not null 음식점 분류
lat DECIMAL(16,14) not null 위도
lng DECIMAL(16,14) not null 경도
updateTime varchar(100) 데이터 최종 업데이트 시간
cntct varchar(100) 전화번호
address varchar(100) 주소
represent_image varchar(255) 대표 이미지
thumbnail_image varchar(255) 썸네일 이미지
create table tour_information(
		            id INT NOT NULL AUTO_INCREMENT COMMENT 'ID',
                title VARCHAR(50) NOT NULL COMMENT '정보 타이틀',
                contentId INT NOT NULL COMMENT '투어api id',               
                readCount INT NOT NULL COMMENT '데이터 읽힌 횟수',
	              lat DECIMAL(16,14) NOT NULL COMMENT '위도',
                lng DECIMAL(17,14) NOT NULL COMMENT '경도',
                cntct VARCHAR(100)  COMMENT '전화번호',
	              updateTime VARCHAR(100) COMMENT '데이터 최종 업데이트 시간',
                address VARCHAR(100) COMMENT '주소',
				represent_image VARCHAR(255) COMMENT '대표이미지',
				thumbnail_image VARCHAR(255) COMMENT '썸네일',
                PRIMARY KEY (id,contentId)
)
@tlsdhsdb tlsdhsdb self-assigned this Jul 19, 2022
@Queue-ri Queue-ri pinned this issue Jul 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant