pathFinder

테이블 (7)

게시글 (Post)

  • PostId (Key) — bigint — 기본 키 — NOT NULL
  • userId (Key2) — bigint — 외래 키 → 유저.userId — NOT NULL
  • title (Field) — String
  • content (Field2) — String
  • likes (Field3) — bigint
  • comments (Field4) — bigint
  • date (Field5) — DATE

댓글 (Comments)

  • commentId (Key) — bigint — 기본 키 — NOT NULL
  • PostId (Key2) — bigint — 외래 키 → 게시글.PostId — NOT NULL
  • userId (Key3) — bigint — 외래 키 → 유저.userId — NOT NULL
  • content (Field) — String
  • date (Field2) — DATE

유저 (User)

  • userId (Key) — bigint — 기본 키 — NOT NULL
  • userName (Field) — String

좋아요 정보 (Likes)

  • likeId (Key) — bigint — 기본 키 — NOT NULL
  • userId (Key2) — bigint — 외래 키 → 유저.userId — NOT NULL
  • PostId (Key3) — bigint — 외래 키 → 게시글.PostId — NOT NULL
  • date (Field) — DATE

지도 핀 (Pins)

  • pinId (Key) — bigint — 기본 키 — NOT NULL
  • userId (Key2) — bigint — 외래 키 → 유저.userId — NOT NULL
  • pinName (Field) — String
  • pinPositionX (Field2) — float
  • pinPositionY (Field3) — float

채팅 (Chat)

  • chatId (Key) — bigint — 기본 키 — NOT NULL
  • chattingRoomId (Key3) — bigint — 외래 키 → 채팅방.chattingRoomId — NOT NULL
  • userId (Key2) — bigint — 외래 키 → 유저.userId — NOT NULL
  • content (Field) — String
  • chatDate (Field2) — DATE
  • isUserChat (Field3) — boolean

채팅방 (ChattingRoom)

  • chattingRoomId (Key) — bigint — 기본 키 — NOT NULL
  • userId (Key2) — bigint — 외래 키 → 유저.userId — NOT NULL