1111

Tables (11)

travel_customer (사용자)

  • 사용자번호 (cus_id) — NOT NULL — Primary key — NOT NULL
  • 유저아이디 (user_id) — NOT NULL
  • 유저패스워드 (user_pw) — NOT NULL
  • 유저이메일 (email) — NOT NULL
  • 유저이름 (user_name) — NOT NULL
  • 유저주소 (user_address) — NOT NULL
  • 가입일 (reg_date)

travel_post (여행게시글)

  • 게시글번호 (post_id) — NOT NULL — Primary key — NOT NULL
  • 작성자번호 (create_id) — NOT NULL — Foreign key → travel_customer.사용자번호 — NOT NULL
  • 제목 (title) — NOT NULL
  • 내용 (content) — NOT NULL
  • 일정시작 (day_start)
  • 일정종료 (day_end)
  • 총 인원수 (count) — NOT NULL
  • 비용 (pay) — NOT NULL
  • 게시일 (reg_date)

travel_post_ application (참가신청)

  • 참가신청번호 (application_id) — NOT NULL — Primary key — NOT NULL
  • 게시글번호 (post_id) — NOT NULL — Foreign key → travel_post.게시글번호 — NOT NULL
  • 사용자번호 (cus_id) — NOT NULL — Foreign key → travel_customer.사용자번호 — NOT NULL
  • 가입인사 (welcome_ment) — NOT NULL
  • 수락거절YNR (status) — NOT NULL
  • 이미지 (img) — NOT NULL
  • 참가일 (reg_date)

travel_post_ schedule (여행일정)

  • 일정번호 (schedule_id) — NOT NULL — Primary key — NOT NULL
  • 게시글번호 (post_id) — NOT NULL — Foreign key → travel_post.게시글번호 — NOT NULL
  • 작성자번호 (create_id) — NOT NULL — Foreign key → travel_post.작성자번호 — NOT NULL
  • 일차 (day) — NOT NULL
  • 위치 (location) — NULL
  • 메모 (memo) — NULL
  • 생성일 (reg_date)

travel_post_board (크루 안 게시판)

  • 게시판번호 (board_id) — NOT NULL — Primary key — NOT NULL
  • 명단번호 (join_id) — NOT NULL — Foreign key → travel_post_joinUser.명단번호 — NOT NULL
  • 참가신청번호 (application_id) — NOT NULL — Foreign key → travel_post_joinUser.참가신청번호 — NOT NULL
  • 내용 (content) — NOT NULL
  • 생성일 (reg_date)

travel_post_cart (동행 찜)

  • 찜번호 — NOT NULL — Primary key — NOT NULL
  • 사용자번호 — NOT NULL — Foreign key → travel_customer.사용자번호 — NOT NULL
  • 게시글번호 — NOT NULL — Foreign key → travel_post.게시글번호 — NOT NULL
  • 등록일

travel_post_crew_chat (크루 안 채팅방)

  • 채팅창번호 (chat_id) — NOT NULL — Primary key — NOT NULL
  • 명단번호 (join_id) — NOT NULL — Foreign key → travel_post_joinUser.명단번호 — NOT NULL
  • 참가신청번호 (application_id) — NOT NULL — Foreign key → travel_post_joinUser.참가신청번호 — NOT NULL
  • 채팅 (chat) — NOT NULL
  • 생성일 (reg_date)

travel_post_img (이미지)

  • 이미지번호 (img_id) — NOT NULL — Primary key — NOT NULL
  • 게시글번호 (post_id) — NOT NULL — Foreign key → travel_post.게시글번호 — NOT NULL
  • 작성자번호 (create_id) — NOT NULL — Foreign key → travel_post.작성자번호 — NOT NULL
  • 이미지링크 (link) — NULL
  • 생성일 (reg_date)

travel_post_joinUser (파티참가명단)

  • 명단번호 (join_id) — NOT NULL — Primary key — NOT NULL
  • 참가신청번호 (application_id) — NOT NULL — Foreign key → travel_post_ application.참가신청번호 — NOT NULL
  • 참여일 (reg_date)

travel_post_reply (게시글 댓글)

  • 댓글번호 (reply_id) — NOT NULL — Primary key — NOT NULL
  • 사용자번호 (cus_id) — NOT NULL — Foreign key → travel_customer.사용자번호 — NOT NULL
  • 게시글번호 (post_id) — NOT NULL — Foreign key → travel_post.게시글번호 — NOT NULL
  • 작성자번호 (create_id) — NOT NULL — Foreign key → travel_post.작성자번호 — NOT NULL
  • 질문 (question) — NOT NULL
  • 답변 (answer) — NULL
  • 작성일 (reg_date)

travel_post_review (리뷰)

  • 리뷰번호 (review_id) — NOT NULL — Primary key — NOT NULL
  • 명단번호 (join_id) — NOT NULL — Foreign key → travel_post_joinUser.명단번호 — NOT NULL
  • 평점 (rating) — NOT NULL
  • 리뷰내용 (content) — NOT NULL
  • 작성일 (reg_date)