postspot
Tables (6)
city (지역번호)
- 지역 (addrCity) — Primary key — NOT NULL
- 지역번호 (cityNo)
mypost (나의포스트)
- 순번 (num) — Primary key — NOT NULL
- 아이디 (id) — Foreign key → userInfo.아이디 — NOT NULL
- 메모번호 (postNo) — Foreign key → spot.메모번호 — NOT NULL
- 게시일 (postDate)
placeInfo (장소타입)
- 장소타입 (placeType) — Primary key — NOT NULL
- 장소번호 (typeNo)
spot (장소정보)
- 메모번호 (postNo) — Primary key — NOT NULL
- 장소타입 (placeType) — Foreign key → placeInfo.장소타입 — NOT NULL
- 지역 (addrCity) — Foreign key → city.지역 — NOT NULL
- 상호명 (spotName)
- 추천내용 (content)
- 주소 (address)
type (카테고리)
- 음식점/한식 (korean)
- 음식점/양식 (western)
- 음식점/일식 (japanese)
- 음식점/중식 (chinese)
- 카페 (cafe)
- 베이커리 (bakery)
- 숙박 (lodge)
- 명소 (place)
- 소품샵 (propshop)
- 술집 (drinks)
userInfo (유저정보)
- 아이디 (id) — Primary key — NOT NULL
- 비밀번호 (pwd)
- 이름 (name)
- 전화번호 (tel)