creer

테이블 (5)

게시글 (Post)

  • id (Key) — Long — 기본 키 — NOT NULL
  • title (Field) — String
  • link (Field2) — String
  • content (Field3) — String
  • view_count (Field4) — Integer
  • like_count (Field5) — Integer
  • create_date (Field6) — LocalDateTime
  • update_date (Field7) — LocalDateTime
  • memberId (Key2) — Long — 외래 키 → 회원.id — NOT NULL
  • languageId (Key3) — Long — 외래 키 → 언어.id — NOT NULL

댓글 (Comment)

  • id (Key) — Long — 기본 키 — NOT NULL
  • text (Field) — Text
  • like (Field2) — Long
  • created_at (Field3) — Date
  • postId (Key2) — Long — 외래 키 → 게시글.id — NOT NULL
  • memberId (Key3) — Long — 외래 키 → 회원.id — NOT NULL

언어 (Language)

  • id (Key) — Long — 기본 키 — NOT NULL
  • name (Field) — String
  • iamgeUrl (Field2) — String

회원 (Member)

  • id (Key) — Long — 기본 키 — NOT NULL
  • username (Field) — String
  • password (Field3) — String
  • imageUrl (Field2) — String
  • nickname (Field4) — String

회원언어 (MemberLanguage)

  • id (Key) — Long — 기본 키 — NOT NULL
  • memberId (Key2) — Long — 외래 키 → 회원.id — NOT NULL
  • languageId (Key3) — Long — 외래 키 → 언어.id — NOT NULL