test

Tables (3)

Account (계정)

  • id (user_id) — String — Primary key — NOT NULL
  • 비밀번호 (password) — String
  • 별명 (name) — String

ChatMessage (채팅메세지)

  • 기본키 (id) — Long — Primary key — NOT NULL
  • 메세지 (message) — String
  • 보낸시간 (sendTime) — localTime
  • 보낸유저 (user) — String — Foreign key → Account.id — NOT NULL
  • 채팅방이름 (chatName) — Long — Foreign key → ChatRoom.기본키 — NOT NULL

ChatRoom (채팅방)

  • 기본키 (id) — Long — Primary key — NOT NULL
  • 참여자 (participants) — String — Foreign key → Account.id — NOT NULL
  • 채팅방이름 (chatName) — String