Bridge erd 0418

Tables (11)

comment (Untitled10)

  • 댓글 아이디 (id) — BigInt — Primary key — NOT NULL — AutoIncrease
  • 유저 아이디 (user_id) — INT — Foreign key → user.유저 아이디 — NOT NULL — AutoIncrease
  • 포스트아이디 (post_id) — int — Foreign key → post.포스트아이디 — NOT NULL — AutoIncrease
  • 내용 (content) — text — NOT NULL

genderCode (Untitled5)

  • 젠더아이디 (id) — int — Primary key — NOT NULL
  • 젠더이름 (gender_name) — String — NOT NULL

hashtag (Untitled6)

  • 해시태그 아이디 (id) — INT — Primary key — NOT NULL — AutoIncrease
  • 해시태그 이름 (hash_name) — String — NOT NULL

image (Untitled9)

  • 이미지 아이디 (id) — int — Primary key — NOT NULL — AutoIncrease
  • 포스트아이디 (post_id) — int — Foreign key → post.포스트아이디 — NOT NULL
  • 경로 (path) — String — NOT NULL
  • 이미지 이름 (name) — String — NOT NULL

post (Untitled2)

  • 포스트아이디 (id) — int — Primary key — NOT NULL — AutoIncrease
  • 유저 아이디 (user_id) — INT — Foreign key → user.유저 아이디 — NOT NULL
  • 제목 (title) — String — NOT NULL
  • 작성시간 (date_created) — LocalDateTime — NOT NULL
  • 약속시간 (start_time) — LocalDateTime — NOT NULL
  • 종료시간 (end_time) — LocalDateTIme
  • 본문 (contents) — String — NOT NULL
  • 포스트 상태 (state) — bit(1) — NOT NULL
  • 조회수 (view_count) — Int — NOT NULL

post_hash (Untitled7)

  • 해시태그 아이디 (hashtag_id) — INT — Foreign key → hashtag.해시태그 아이디 — NOT NULL — AutoIncrease
  • 포스트아이디 (post_id) — int — Foreign key → post.포스트아이디 — NOT NULL — AutoIncrease

post_user (참여자)

  • 유저아이디 (user_id) — INT — Foreign key → user.유저 아이디 — NOT NULL
  • 포스트아이디 (post_id) — int — Foreign key → post.포스트아이디 — NOT NULL — AutoIncrease

script (Untitled11)

  • 스크립트아이디 (id) — int — Primary key — autoincrease
  • 내용 (contents) — text — NOT NULL
  • 점수 (socre) — int — NOT NULL

user (Untitled)

  • 유저 아이디 (id) — INT — Primary key — NOT NULL — AutoIncrease
  • 로그인 아이디 (login_id) — String — NOT NULL
  • 비밀번호 (password) — String — NOT NULL
  • 이메일 (email) — String — NOT NULL
  • 매너점수 (manner_score) — Int — NOT NULL
  • 생년월일 (birth) — LocalDate — NOT NULL
  • 닉네임 (nickname) — String — NOT NULL
  • 가입상태 (state) — bit(1) — NOT NULL
  • 자기소개 (introduce) — String — NOT NULL
  • 젠더아이디 (id2) — int — Foreign key → genderCode.젠더아이디 — NOT NULL

user_hash (Untitled8)

  • 해시태그 아이디 (hash_id) — INT — Foreign key → hashtag.해시태그 아이디 — NOT NULL — AutoIncrease
  • 유저 아이디 (id2) — INT — Foreign key → user.유저 아이디 — NOT NULL — AutoIncrease

validate (Untitled4)

  • 투표자 아이디 (user_id) — INT — Foreign key → user.유저 아이디 — NOT NULL — AutoIncrease
  • 유저아이디 (postuser_id) — INT — Foreign key → post_user.유저아이디 — NOT NULL
  • 포스트아이디 (post_id) — int — Foreign key → post_user.포스트아이디 — NOT NULL — AutoIncrease
  • 스크립트아이디 (id2) — int — Foreign key → script.스크립트아이디 — autoincrease