mymat

테이블 (7)

게시글 (post)

  • 게시글 번호 (post_no) — number — 기본 키 — NOT NULL
  • 아이디 (member_id) — varchar2(20) — 외래 키 → 회원.아이디 — NOT NULL
  • 게시글 조회 수 (post_view) — number
  • 게시글 게시 시간 (post_time) — timestamp
  • 게시글 내용 (post_content) — varchar2(3000)
  • 게시글 제목 (post_title) — varchar2(100)

게시물 사진 (post_image)

  • 첨부파일 번호 (attachment_no) — number — 외래 키 → 첨부파일.첨부파일 번호 — NOT NULL
  • 게시글 번호 (post_no) — number — 외래 키 → 게시글.게시글 번호 — NOT NULL

댓글 (comment)

  • 댓글 번호 (comment_no) — number — 기본 키 — NOT NULL
  • 게시글 번호 (post_no) — number — 외래 키 → 게시글.게시글 번호 — NOT NULL
  • 댓글 아이디 (member_id) — varchar2(20)
  • 댓글 작성 시간 (comment_time) — timestamp
  • 댓글 그룹번호 (comment_group_no) — number

맛집 (matjyp)

  • 아이디 (member_id) — varchar2(20) — 외래 키 → 회원.아이디 — NOT NULL
  • 위치정보 (matjyp_location) — varchar2(150)

첨부파일 (attachment)

  • 첨부파일 번호 (attachment_no) — number — 기본 키 — NOT NULL
  • 첨부파일 이름 (attachment_name) — varchar2(30)
  • 첨부파일 타입 (attachment_type) — varchar2(20)
  • 첨부파일 크기 (attachment_size) — number

회원 (member)

  • 아이디 (member_id) — varchar2(20) — 기본 키 — NOT NULL
  • 비밀번호 (member_pw) — varchar2(20)
  • 닉네임 (member_nick) — varchar2(30)
  • 이메일 (member_email) — varchar2(50)

회원 프로필 사진 (member_profile_image)

  • 첨부파일 번호 (attachment_no) — number — 외래 키 → 첨부파일.첨부파일 번호 — NOT NULL
  • 아이디 (member_id) — varchar2(20) — 외래 키 → 회원.아이디 — NOT NULL