rocket
Tables (4)
conversations (대화)
- 대화 고유 ID (conversation_id) — NOTNULL — Primary key — NOT NULL
- 제목 (title) — NOTNULL
- 요약 (summary)
- 생성일 (created_at) — NOTNULL
- 수정일 (updated_at) — NOTNULL
- 사용자 고유 ID (user_id) — NOTNULL — Foreign key → users.사용자 고유 ID — NOT NULL
messages (메시지)
- 메시지 고유 ID (message_id) — NOTNULL — Primary key — NOT NULL
- 작성자 (role) — NOTNULL
- 내용 (content) — NOTNULL
- 생성일 (created_at) — NOTNULL
- 대화 고유 ID (conversation_id) — NOTNULL — Foreign key → conversations.대화 고유 ID — NOT NULL
repairs (수리 접수)
- 수리 접수 고유 ID (request_id) — NOTNULL — Primary key — NOT NULL
- 수리상태 (status) — NOTNULL
- 수리제품 (product) — NOTNULL
- 증상 (issue) — NOTNULL
- 생성일 (created_at) — NOTNULL
- 사용자 고유 ID (user_id) — NOTNULL — Foreign key → users.사용자 고유 ID — NOT NULL
users (사용자)
- 사용자 고유 ID (user_id) — NOTNULL — Primary key — NOT NULL
- 비밀번호 (password) — NOTNULL
- 이메일 (email) — NOTNULL
- 이름 (nickname) — UNIQUE
- 권한 (type) — NOTNULL
- 생성일 (created_at) — NOTNULL
- 수정일 (updated_at) — NOTNULL