멍해페이지

테이블 (6)

게시글 (post)

  • 게시글 아이디 (id) — int — 기본 키 — NOT NULL
  • 게시글 제목 (post_title) — varchar(100)
  • 게시글 본문 (post_content) — varchar(1000)
  • 게시글 좋아요 (post_like) — int — NOT NULL
  • 게시글 댓글 (post_comment) — int — NOT NULL
  • 유저 아이디 (id2) — int — 외래 키 → 회원.유저 아이디 — NOT NULL

댓글 (comment)

  • 댓글 아이디 (id) — int — 기본 키 — NOT NULL
  • 댓글 본문 (comment_content) — varchar(1000)
  • 게시글 아이디 (id2) — int — 외래 키 → 게시글.게시글 아이디 — NOT NULL
  • 유저 아이디 (id3) — int — 외래 키 → 회원.유저 아이디 — NOT NULL

이미지 (img)

  • 이미지 아이디 (id) — int — 기본 키 — NOT NULL
  • 게시글 이미지 (poas_img) — text
  • 게시글 아이디 (id2) — int — 외래 키 → 게시글.게시글 아이디 — NOT NULL

일정 (schedule)

  • 일정 아이디 (id) — int — 기본 키 — NOT NULL
  • 일정 년도 (schedule_year) — int — NOT NULL
  • 일정 월 (schedule_month) — int — NOT NULL
  • 일정 일 (schedule_day) — int — NOT NULL
  • 일정 시작 (schedule_start) — int
  • 일정 종료 (schedule_end) — int
  • 일정 본문 (schedule_content) — varchar(100)
  • 유저 아이디 (id2) — int — 외래 키 → 회원.유저 아이디 — NOT NULL

펫 (pet)

  • 펫 아이디 (id) — int — 기본 키 — NOT NULL
  • 펫 이름 (Field2) — varchar(17) — NOT NULL
  • 펫 성별 (pet_gender) — varchar(1)
  • 펫 출생일 (pet_birth) — int
  • 펫 종류 (pet_type) — varchar(1)
  • 펫 경로 (pet_take) — varchar(1)
  • 유저 아이디 (id2) — int — 외래 키 → 회원.유저 아이디 — NOT NULL

회원 (user)

  • 유저 아이디 (id) — int — 기본 키 — NOT NULL
  • 유저 이미지 (user_img) — text
  • 유저 이름 (user_name) — varchar(17) — NOT NULL
  • 유저 생일 (user_birth) — int — NOT NULL
  • 유저 나이 (user_age) — int — NOT NULL
  • 유저 댓글수 (user_comments) — int — NOT NULL