Diary
테이블 (3)
글 (text)
- 아이디 (id) — string — 기본 키 — NOT NULL
- 회원아이디 (user_id) — string — 외래 키 → 회원.아이디 — NOT NULL
- 카테고리 (category) — string — NOT NULL
- 제목 (title) — string — NOT NULL
- 내용 (content) — string — NOT NULL
- 장소 (location) — string — NOT NULL
- 사진 (image) — -
- 즐겨찾기 (favorite) — boolean
- 임시저장 (temp) — boolean
장소 (location)
- 8도 (first_area) — string — NOT NULL
- 광역시, 군, 시 (second_area) — string — NOT NULL
- 광역시 내의 구 (third_area) — string
회원 (user)
- 아이디 (id) — string — 기본 키 — NOT NULL
- 닉네임 (nick) — string
- 성별 (sex) — string
- 연령대 (age) — int
- 작성글 (written_text) — array
- 즐겨찾기글 (favorite_text) — array
- 임시저장글 (temp_text) — array