Smart Note
Tables (3)
airequestlog
- 요청 기록 ID (id) — PK, AUTO_INCREMENT — Primary key — NOT NULL
- 메모 ID (note_id) — FK: note.id, NOT NULL
- 요청 타입 (type) — NOT NULL
- 요청 내용 (request_text)
- 응답 내용 (result_text)
- 요청일시 (create_at) — DEFAULT CURRENT_TIMESTAMP, NOT NULL
note
- 메모 고유 ID (id) — PK, AUTO_INCREMENT — Primary key — NOT NULL
- 작성자 ID (user_id) — FK: user(id), NOT NULL
- 메모 제목 (title) — NOT NULL
- 메모 내용 (content)
- 작성일시 (created_at) — DEFAULT CURRENT_TIMESTAMP, NOT NULL
- 수정일시 (updated_at) — DEFAULT CURRENT_TIMESTAMP ON UPDATE, CURRENT_TIMESTAMP, NOT NULL
user
- 사용자 고유 ID (id) — PK, AUTO_INCREMENT — Primary key — NOT NULL
- 이메일 (email) — UNIQUE, NOT NULL
- 비밀번호 (password) — NOT NULL
- 닉네임 (nickname) — NOT NULL
- 가입일시 (created_at) — DEFAULT CURRENT_TIMESTAMP, NOT NULL