ddu-beok

Tables (5)

ddu_beok (뚜벅)

  • id (아이디) — long — Primary key — NOT NULL
  • user_id (사용자 아이디) — long — Foreign key → user.id — NOT NULL
  • title (제목) — string
  • location (여행지) — string
  • password (비밀번호) — string
  • start_date (시작 날짜) — datetime
  • end_date (종료 날짜) — datetime
  • img (사진) — string
  • participant (참가자) — list
  • latitude (위도) — double
  • longitude (경도) — double
  • is_favorite (즐겨찾기) — boolean

recommend (추천 여행)

  • id (추천 여행 아이디) — long — Primary key — NOT NULL
  • title (제목) — string
  • img (사진) — string

schedule (일정)

  • id (아이디) — long — Primary key — NOT NULL
  • ddu_beok_id (뚜벅 아이디) — long — Foreign key → ddu_beok.id — NOT NULL
  • user_id (사용자 아이디) — long — Foreign key → ddu_beok.user_id — NOT NULL
  • content (내용) — string
  • start_time (시작 시간) — time
  • end_time (종료 시간) — time
  • loc_detail (상세 장소) — string
  • latitude (위도) — double
  • longitude (경도) — double
  • day_num (여행 일자) — int

todo (투두)

  • id (아이디) — long — Primary key — NOT NULL
  • ddu_beok_id (뚜벅 아이디) — long — Foreign key → ddu_beok.id — NOT NULL
  • user_id (사용자 아이디) — long — Foreign key → ddu_beok.user_id — NOT NULL
  • category (카테고리) — string
  • content (내용) — string
  • is_checked (완료) — boolean
  • day_num (여행 일자) — int

user (사용자)

  • id (아이디) — long — Primary key — NOT NULL
  • nickname (닉네임) — string
  • profile_img (프로필 사진) — string