jobplanet erd

Tables (5)

Tag (태그)

  • Tag_id (태그의 id) — Long — Primary key — NOT NULL
  • name (태그의 이름) — string

User (Untitled)

  • Key — Primary key — NOT NULL
  • Field

comment (댓글)

  • comment_id (댓글의 id) — Long — Primary key — NOT NULL
  • post_id (게시글의 id) — Long — Foreign key → post.post_id — NOT NULL
  • content (내용) — string
  • password (비밀번호) — string
  • created_at (생성 시간) — time
  • updated_at (수정 시간) — time

like (좋아요)

  • post_id (게시글의 id) — Long — Foreign key → post.post_id — NOT NULL
  • Key_id (좋아요의 id) — Foreign key → User.Key — NOT NULL

post (게시글)

  • post_id (게시글의 id) — Long — Primary key — NOT NULL
  • Tag_id (태그의 id) — Long — Foreign key → Tag.Tag_id — NOT NULL
  • content (내용) — string
  • like (좋아요) — int
  • view (조회 수) — int
  • password (비밀번호) — string
  • craeted_at (생성 시간) — time