0428 V.2

Tables (11)

comment (Untitled10)

  • 댓글 아이디 (id) — BigInt — Primary key — NOT NULL — AutoIncrease
  • 내용 (content) — text — NOT NULL
  • 생성일 (created_at) — DateTime — NOT NULL
  • 유저 아이디 (id3) — BigInt — Foreign key → user.유저 아이디 — NOT NULL — AutoIncrease
  • 포스트아이디 (id2) — BigInt — Foreign key → post.포스트아이디 — NOT NULL — AutoIncrease

genderCode (Untitled5)

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

hashtag (Untitled6)

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

image (Untitled9)

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

post (Untitled2)

  • 포스트아이디 (id) — BigInt — Primary key — NOT NULL — AutoIncrease
  • 제목 (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) — BigInt — NOT NULL
  • 유저 아이디 (id2) — BigInt — Foreign key → user.유저 아이디 — NOT NULL — AutoIncrease

post_hash (Untitled7)

  • 해시태그 아이디 (id) — BigInt — Foreign key → hashtag.해시태그 아이디 — NOT NULL — AutoIncrease
  • 포스트아이디 (id2) — BigInt — Foreign key → post.포스트아이디 — NOT NULL — AutoIncrease

post_user (참여자)

  • 유저 아이디 (id) — BigInt — Foreign key → user.유저 아이디 — NOT NULL — AutoIncrease
  • 포스트아이디 (id2) — BigInt — Foreign key → post.포스트아이디 — NOT NULL — AutoIncrease

template (Untitled11)

  • 템플릿아이디 (id) — BigInt — Primary key — NOT NULL — autoincrease
  • 내용 (contents) — text — NOT NULL
  • 점수 (socre) — Int — NOT NULL

user (Untitled)

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

user_hash (Untitled8)

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

validate (Untitled4)

  • 평가 아이디 (validate_id) — BingInt — Primary key — NOT NULL — Autoincrease
  • 템플릿아이디 (template_id) — BigInt — Foreign key → template.템플릿아이디 — NOT NULL — autoincrease
  • 투표자 아이디 (from_user_id) — BigInt — Foreign key → user.유저 아이디 — NOT NULL — AutoIncrease
  • 투표 받는자 아이디 (to_user_id) — BigInt — Foreign key → user.유저 아이디 — NOT NULL — AutoIncrease
  • 포스트아이디 (post_id) — BigInt — Foreign key → post.포스트아이디 — AutoIncrease