chat
Tables (3)
Chat (채팅방)
- id — Int — Primary key — NOT NULL
- title — String?
- description — String?
- participants — Int[]
Message (메세지)
- id — Int — Primary key — NOT NULL
- chatId — Int — Foreign key → Chat.id — NOT NULL
- userId — Int — Foreign key → User.id — NOT NULL
- content — String
- time — DateTime
User (유저)
- id — Int — Primary key — NOT NULL
- username — String
- email — String
- password — String