Eatory
테이블 (3)
사용자 (User)
- UID (user_id) — NOT NULL — 기본 키 — NOT NULL
- 닉네임 (nickname) — not null
- 비밀번호 (password) — not null
- 이메일 (email) — not null
- 키 (height)
- 몸무게 (weight)
- 성별 (sex)
- 생년월일 (birthDate)
- 플랫폼 (platform_type)
- 접근키 (access_type)
소셜 로그인 (SocialLogin)
- 소셜ID (social_id) — not null — 기본 키 — NOT NULL
- 플랫폼 (platform_type) — not null
- 접근키 (access_token) — not null
- UID (user_id) — NOT NULL — 외래 키 → 사용자.UID — NOT NULL
알러지 항목 (Allergy)
- 알레르기ID (allergy_id) — NOT NULL — 기본 키 — NOT NULL
- Field