run-eat
Tables (9)
character_image (asd)
- 아이디 (id) — NotNull — Primary key — NOT NULL
- 캐릭터이미지 (characterUrl) — NotNull
- 캐릭터 최대 칼로리 (maxCalorie) — NotNull
food (음식)
- 아이디 (food_id) — NotNull — Primary key — NOT NULL
- 아이디 (user_id) — NotNull — Foreign key → user.아이디 — NOT NULL
- 음식이름 (foodName) — NotNull
- 음식이미지 (foodImagePath) — NotNull
- 칼로리 (calorie) — NotNull
food_image (CopyOfCopyOf캐릭터)
- 아이디 (id) — NotNull — Primary key — NOT NULL
- 음식칼로리 (foodCalorie) — NotNull
- 음식이미지 (foodImageUrl) — NotNull
- 음식이름 (foodName) — NotNull
map (맵)
- 아이디 (map_id) — NotNull — Primary key — NOT NULL
- 아이디 (user_id) — NotNull — Foreign key → user.아이디 — NOT NULL
- 시작위도 (startLatitude)
- 시작경도 (startLongitude)
- 종료위도 (finishLatitude)
- 종료경도 (finishLongitude)
profile_image (CopyOf캐릭터)
- 아이디 (id) — NotNull — Primary key — NOT NULL
- 프로필이미지 (imageUrl) — NotNull
refresh_token (리프레쉬토큰)
- 리프레쉬토큰 (refreshToken) — NotNull — Primary key
run_eat_character (캐릭터)
- 아이디 (id) — NotNull — Primary key — NOT NULL
- 아이디 (user_id) — NotNull — Foreign key → user.아이디 — NOT NULL
- 캐릭터이미지 (characterImagePath) — NotNull
- 현재 캐릭터 칼로리 (nowCharaterCalorie) — NotNull
- 캐릭터 최대 칼로리 (maxCharaterCalorie) — NotNull
- 오늘 소모한 칼로리 (todayCharacterCalorie) — NotNull
user (사용자)
- 아이디 (user_id) — NotNull — Primary key — NOT NULL
- 프로필이미지 (profilePath) — NotNull
- 성별 (gender)
- 닉네임 (nickname) — NotNull
- 전체칼로리 (accumulatedCalorie) — NotNull
- 현재칼로리 (nowCalorie) — NotNull
user_roles (권한)
- 리프레쉬토큰 (refreshToken) — NotNull — Primary key
- 아이디 (user_id) — NotNull — Foreign key → user.아이디 — NOT NULL