masil
Tables (7)
follow (Untitled6)
- follow_id — Primary key — NOT NULL
like (Untitled5)
- like_id — int — Primary key — NOT NULL
- user_id (USER_ID) — int — Foreign key → member.user_id — NOT NULL — Auto Increment
- post_id (POST_ID) — int — Foreign key → post.post_id — NOT NULL — Auto Increment
- writer_id — int — Foreign key → post.writer_id — NOT NULL — Auto Increment
- Field
member (Untitled)
- user_id (USER_ID) — int — Primary key — NOT NULL — Auto Increment
- 사용자명 (USERNAME) — varchar(40) — NOT NULL — 작성자명에 표시되는 이름
- 비밀번호 (PASSWORD) — NOT NULL
- 프로필 이미지 (PROFILEIMG) — varchar(200) — 사용자 프로필 사진
- Field (INTRODUCE) — varchar(50) — 간단한 소개글
post (CopyOfUntitled)
- post_id (POST_ID) — int — Primary key — NOT NULL — Auto Increment
- writer_id — int — Foreign key → member.user_id — NOT NULL — Auto Increment
- 제목 (TITLE) — varchar(100) — NOT NULL
- 작성일 (CREATED_AT) — datetime — NOT NULL
- 조회수 (VIEW_COUNT) — int(100)0 — 조회수 카운트
- 추천수 (LIKE_COUNT) — int(100) — 추천 카운트
- Field (BODY) — text — 경로 전체에 대한 설명
post_tag (Untitled2)
- tag_id — int — Primary key — NOT NULL — Auto Increment
- post_id (POST_ID) — int — Foreign key → post.post_id — NOT NULL — Auto Increment
- user_id (USER_ID) — int — Foreign key → post.writer_id — NOT NULL — Auto Increment
- 식당 (food_tag) — tinyint(1)
- 카페 (cafe_tag) — tinyint(1)
- 여행지 (tourist_spot) — tinyint(1)
- 어트랙션 (attraction) — tinyint(1)
- 지역 (region) — int — 지역별 고유번호 부여
puzzle (Untitled3)
- puzzle_key — Primary key — NOT NULL — Auto Increment
- user_id (USER_ID) — int — Foreign key → member.user_id — NOT NULL — Auto Increment
- Field
spot (Untitled4)
- spot_id (Key) — int — Primary key — NOT NULL — Auto Increment
- post_id (POST_ID) — int — Foreign key → post.post_id — NOT NULL — Auto Increment
- user_id (USER_ID) — int — Foreign key → post.writer_id — NOT NULL — Auto Increment
- 장소 이름 (spot_name) — varchar(20) — NOT NULL
- 주소 (spot_address) — varchar(50) — NOT NULL
- 장소 설명 (Field) — text — 장소에 대한 설명