puppyfriend
Tables (10)
agreement (약관동의)
- 약관동의 식별자 (agreement_id) — PK, AI — Primary key — NOT NULL
- 유저식별자 (user_id) — PK, AI — Foreign key → user.유저식별자 — NOT NULL
- 필수 (required)
- 선택 (choice)
block (차단)
- 차단 식별자 (block_id) — PK, AI — Primary key — NOT NULL
- 차단한사람 (user_id) — Foreign key → user.유저식별자 — NOT NULL
- 차단당한사람 (user_id2) — Foreign key → user.유저식별자 — NOT NULL
chat (채팅)
- 채팅식별자 (chat_id) — PK, AI — Primary key — NOT NULL
- 채팅방 (room_id) — Foreign key → room.채팅방식별자 — NOT NULL
- 유저 (user_id) — Foreign key → user.유저식별자 — NOT NULL
- 메시지 (message)
- 생성일 (create_at)
follow (팔로우)
- 팔로우 식별자 (follow_id) — PK, AI — Primary key — NOT NULL
- 팔로워 (follower) — Foreign key → user.유저식별자 — NOT NULL
- 팔로잉 (following) — Foreign key → user.유저식별자 — NOT NULL
puppy (강아지)
- 강아지식별자 (puppy_id) — PK, AI — Primary key — NOT NULL
- 유저 (user_id) — Foreign key → user.유저식별자 — NOT NULL
- 생년월일 (birth)
- 산책목표 (goal)
- 이름 (name)
- 종 (type)
- 나이 (age)
- 사이즈 (size)
- 성격 (personality)
room (채팅방)
- 채팅방식별자 (room_id) — PK, AI — Primary key — NOT NULL
- 유저1 (user_id) — Foreign key → user.유저식별자 — NOT NULL
- 유저2 (user_id2) — Foreign key → user.유저식별자 — NOT NULL
- 생성일 (create_at)
sns
- sns식별자 (sns_id) — PK, AI — Primary key — NOT NULL
- 유저 (user_id) — Foreign key → user.유저식별자 — NOT NULL
- 글 (post)
- 카테고리 (category)
- 생성일 (create_at)
sns_photo (sns사진)
- 사진 식별자 (sns_photo_id) — PK, AI — Primary key — NOT NULL
- sns (sns_id) — Foreign key → sns.sns식별자 — NOT NULL
- 사진 (photo)
user (유저)
- 유저식별자 (user_id) — PK, AI — Primary key — NOT NULL
- 아이디 (id)
- 비밀번호 (password)
- 닉네임 (nickname)
- 이름 (name)
- 이메일 (email)
- 성별 (gender)
- 생년월일 (birth)
- 장소 (location)
- 토큰 (accessToken)
- 상태 (status)
walk (산책)
- 산책 식별자 (walk_id) — PK, AI — Primary key — NOT NULL
- 유저 (user_id) — PK, AI — Foreign key → user.유저식별자 — NOT NULL
- 날짜 (date)
- 사진 (photo)
- 리뷰 (review)