hipmap
Tables (10)
bookmark (북마크)
- bookmark_id (고유 ID) — Primary key — NOT NULL
- user_id (유저 ID) — Foreign key → user.user_id — NOT NULL
- shorts_id (쇼츠 ID) — Foreign key → shorts.shorts_id — NOT NULL
comment (댓글)
- comment_id (고유 ID) — Primary key — NOT NULL
- content (내용)
- comment_group (댓글 그룹)
- sequence (순서)
- create_time (작성일시)
- shorts_id (쇼츠 ID) — Foreign key → shorts.shorts_id — NOT NULL
- user_id (유저 ID) — Foreign key → user.user_id — NOT NULL
dong (동)
- code (코드) — Primary key — NOT NULL
- sido (시/도)
- gugun (구/군)
- dong (동)
follow (팔로우)
- follow_id (고유 ID) — Primary key — NOT NULL
- user_id (유저 ID) — Foreign key → user.user_id — NOT NULL
- following_id (팔로잉 ID) — Foreign key → user.user_id — NOT NULL
gugun (구/군)
- code (코드) — Primary key — NOT NULL
- sido (시/도)
- gugun (구/군)
notification (알림)
- content (내용)
- url (포스트 url)
- is_read (읽기 여부)
- receiver_id (받는 유저 ID) — Foreign key → user.user_id — NOT NULL
shorts (쇼츠)
- shorts_id (고유 ID) — Primary key — NOT NULL
- file_src (파일 위치)
- thumbnail_src (썸네일 위치)
- location_si (시/도)
- location_gu (구/군)
- location_dong (동)
- is_mapped (?)
- label_name (레이블명)
- latitude (위도)
- longitude (경도)
- create_time (생성 일시)
- file_type (파일 타입)
- user_id (작성자 ID) — Foreign key → user.user_id — NOT NULL
shorts_like (좋아요)
- like_id (고유 ID) — Primary key — NOT NULL
- vote (투표여부)
- user_id (유저 ID) — Foreign key → user.user_id — NOT NULL
- shorts_id (쇼츠 ID) — Foreign key → shorts.shorts_id — NOT NULL
sido (시/도)
- code (코드) — Primary key — NOT NULL
- sido (시/도)
user (유저)
- user_id (고유 ID) — Primary key — NOT NULL
- username (유저 이름)
- password (비밀번호) — 암호화
- email (이메일)
- nickname (닉네임)
- pro_img_src (프로필 이미지 위치)
- label_name (레이블 명)
- label_char_src (레이블 캐릭터 위치)
- follow_private (팔로우 공개 여부)
- is_certed (이메일 인증 여부)
- reg_date_time (가입 일자)
- role (권한)