여행지도앱
테이블 (10)
Friendship (Untitled5)
- friend_id — 기본 키 — NOT NULL
- user_id — 외래 키 → User.user_id — NOT NULL
- 상태 (status)
- created_at (updated_at)
- updated_at (Field)
Marker (Untitled3)
- marker_id — not null — 기본 키 — NOT NULL
- 마커 위도 정보 (latitude) — not null
- 마커의 경도 정보 (longitude) — not null
- 마커 정보 (title) — not null
- 마커 글, 후기 (content) — not null
- created_at — default
- updated_at — default
- 마커 대표 이미지 (main_photo_url)
- user_id — not null — 외래 키 → User.user_id — NOT NULL
MarkerImage (Untitled4)
- image_id — not null — 기본 키 — NOT NULL
- image_url — not null
- 이미지 설명 (description) — not null
- created_at (reated_at) — not null
- marker_id — not null — 외래 키 → Marker.marker_id — NOT NULL
Notification (Untitled8)
- user_id — 외래 키 → User.user_id — NOT NULL
RoutePoint (Untitled9)
- routine_point_id (Key) — 기본 키 — NOT NULL
- trip_id (Key2) — 외래 키 → Trip.trip_id — NOT NULL
Trip (Untitled7)
- trip_id (Key) — 기본 키 — NOT NULL
User (Untitled)
- user_id — not null — 기본 키 — NOT NULL
- 사용자 이름 (username) — not null
- 이메일 (email) — not null
- 비밀번호 (password) — not null
- 전화번호 (phone_number) — not null
- created_at — default
- updated_at — default
- Field
User (Untitled2)
- user_id — 기본 키 — NOT NULL
- 이름 (username)
- 이메일 (email)
- created_at (Field)
- Field2
comment (Untitled6)
- marker_id — not null — 외래 키 → Marker.marker_id — NOT NULL
- user_id — 외래 키 → User.user_id — NOT NULL