VI

테이블 (7)

게시판 (bbs)

  • 아이디 (id) — int — 기본 키 — NOT NULL
  • 작성날짜 (createDt) — date
  • 수정날짜 (updateDt) — date
  • 태그 (tag) — string
  • 제목 (title) — string
  • 내용 (contents) — text
  • 좋아요 (favorite) — int
  • 아이디_작성자 (user_id) — int — 외래 키 → 사용자.아이디 — NOT NULL
  • 아이디 (influence_id) — int — 외래 키 → 인플루언서.아이디 — NOT NULL

게시판이미지 (bbs_image)

  • 아이디 (influence_id) — int — 외래 키 → 이미지.아이디 — NOT NULL
  • 아이디 (id2) — int — 외래 키 → 게시판.아이디 — NOT NULL
  • Key — 외래 키 → 이미지.순번 — NOT NULL

답글 (reply)

  • 순번 (seq) — 기본 키
  • 아이디 (id) — int — 외래 키 → 게시판.아이디 — NOT NULL
  • 작성자 (writer) — string
  • 작성날짜 (createDt) — date
  • 수정날짜 (updateDt) — date
  • 좋아요 (favorite) — int
  • 아이디_댓글작성자 (user_id) — int — 외래 키 → 사용자.아이디 — NOT NULL

로그 (Log)

  • 접속일자 (Log_date) — date
  • 순번 (Sequence)

사용자 (user)

  • 아이디 (user_id) — string — 기본 키 — NOT NULL
  • 비밀번호 (password) — string
  • 닉네임 (nickname) — string
  • 이메일 (email) — string
  • 가입날짜 (createDt) — date
  • 접속날짜 (loginDt) — date
  • 사용자권한 (userType) — string

이미지 (image)

  • 순번 (seq) — number — 기본 키 — NOT NULL
  • 아이디 (influence_id) — number — 외래 키 → 인플루언서.아이디 — NOT NULL
  • 이미지경로 (imagePath) — varchar(50)
  • 태그 (tag) — varchar(100)

인플루언서 (infulencer)

  • 아이디 (influence_id) — int — 기본 키 — NOT NULL
  • 이름 (name) — string
  • 스토리 (story) — text
  • 태그 (tag) — string
  • 아이디 (user_id) — int — 외래 키 → 사용자.아이디 — NOT NULL