ormi-django-project2
테이블 (3)
메세지 (Message)
- id — not null — 기본 키 — NOT NULL
- content — not null
- created_at — not null
- is_user_msg — not null
- session_id — not null — 외래 키 → 채팅 세션.id — NOT NULL
- user_id — not null — 외래 키 → 유저.id — NOT NULL
유저 (User)
- id — not null — 기본 키 — NOT NULL
- name — not null
- email — not null
- pw — not null
- created_at — not null
채팅 세션 (ChatSession)
- id — not null — 기본 키 — NOT NULL
- start_time — not null
- end_time — not null
- user_id — not null — 외래 키 → 유저.id — NOT NULL