Plannery
테이블 (10)
감정기록 (emotion)
- Key (emotion_id) — VARCHAR(10) — 기본 키 — NOT NULL
- Key (member_id) — VARCHAR(10) — 외래 키 → 사용자.Key — NOT NULL
- Field (date) — DATE
- Field2 (emotion_icon) — VARCHAR(10)
- Field3 (memo) — TEXT
루틴 목록 (routine)
- Key (routine_id) — VARCHAR(10) — 기본 키 — NOT NULL
- Key (member_id) — VARCHAR(10) — 외래 키 → 사용자.Key — NOT NULL
- Field (title) — VARCHAR(100)
- Field (repeat_days) — VARCHAR(50)
- Field (category) — VARCHAR(50)
- Field (order_index) — INT
- Field (created_at) — DATETIME
루틴 체크 내역 (routine_logs)
- Key (log_id) — VARCHAR(10) — 기본 키 — NOT NULL
- Key (member_id) — VARCHAR(10) — 외래 키 → 사용자.Key — NOT NULL
- Key (routine_id) — VARCHAR(10) — 외래 키 → 루틴 목록.Key — NOT NULL
- Field (date) — DATE
- Field2 (completed) — BOOLEAN
방명록 (guestbook)
- Key (entry_id) — VARCHAR(10) — 기본 키 — NOT NULL
- Key (member_id) — VARCHAR(10) — 외래 키 → 사용자.Key — NOT NULL
- Field (content) — TEXT
- Field2 (created_at) — DATETIME
사용자 (member)
- Key (member_id) — VARCHAR(10) — 기본 키 — NOT NULL
- Field (password) — VARCHAR(255)
- Field2 (email) — VARCHAR(100)
- Field3 (nickname) — VARCHAR(50)
- Field4 (created_at) — DATETIME
- Field (profile_img) — TEXT
- Field2 (theme) — VARCHAR(20)
일기 (diaries)
- Key (diary_id) — VARCHAR(10) — 기본 키 — NOT NULL
- Key (member_id) — VARCHAR(10) — 외래 키 → 사용자.Key — NOT NULL
- Field (date) — DATE
- Field2 (title) — TEXT
- Field (content) — TEXT
- Field (is_public) — BOOLEAN
- Field (image_url) — TEXT
- Field (created_at) — DATETIME
일기 댓글 (diary_comments)
- Key (comment_id) — VARCHAR(10) — 기본 키 — NOT NULL
- Key (member_id) — VARCHAR(10) — 외래 키 → 사용자.Key — NOT NULL
- Key (diary_id) — VARCHAR(10) — 외래 키 → 일기.Key — NOT NULL
- Field (content) — TEXT
- Field2 (created_at) — DATETIME
일정 (task)
- Key (task_id) — VARCHAR(10) — 기본 키 — NOT NULL
- Key (member_id) — VARCHAR(10) — 외래 키 → 사용자.Key — NOT NULL
- Field (title) — VARCHAR(100)
- Field2 (description) — TEXT
- Field3 (date) — DATE
- Field4 (time) — TIME
- Field (color) — VARCHAR(20)
- Field (icon) — VARCHAR(50)
- Field (is_completed) — BOOLEAN
- Field (created_at) — DATETIME
잔디 히트맵 (heatmap)
- Key (heatmap_id) — VARCHAR(10) — 기본 키 — NOT NULL
- Key (member_id) — VARCHAR(10) — 외래 키 → 사용자.Key — NOT NULL
- Field (grass_color) — VARCHAR(20)
- Field (updated_at) — DATETIME
팔로우 (follows)
- Key (follow_id) — VARCHAR(10) — 기본 키 — NOT NULL
- Key (member_id) — VARCHAR(10) — 외래 키 → 사용자.Key — NOT NULL
- Field (follower_id) — VARCHAR(10)
- Field2 (followee_id) — VARCHAR(10)
- Field (created_at) — DATETIME