weady

테이블 (13)

날씨 (weather)

  • 날씨id (id) — bigInt — 기본 키 — NOT NULL
  • 날짜 (timestamp) — varChar
  • 유형 (weather_type) — Enum
  • 최소온도 (min_temp) — Float
  • 최대온도 (max_temp) — Float
  • 습도 (humidity) — Float
  • 강수 (rainfall) — Float
  • 바람 (wind_speed) — Float

댓글 (comments)

  • 댓글id (comment_id) — bigInt — 기본 키 — NOT NULL
  • 내용 (text) — varChar
  • 작성자 (writer_id) — bigInt — 외래 키 → 사용자.사용자id — NOT NULL
  • 포스팅id (posting_id) — bigInt — 외래 키 → 사용자 게시물.포스팅id — NOT NULL

사용자 (member)

  • 사용자id (id) — bigInt — 기본 키 — NOT NULL
  • 닉네임 (nickname) — varChar
  • 성별 (gender) — varChar

사용자 게시물 (posting)

  • 포스팅id (id) — bigInt — 기본 키 — NOT NULL
  • 위치 (address) — varChar
  • Field
  • 작성자 (writer_id) — bigInt — 외래 키 → 사용자.사용자id — NOT NULL

사진 (photo)

  • 사진id (id) — bigInt — 기본 키 — NOT NULL
  • 사진url (url) — varChar
  • 장소id (place_id) — bigInt — 외래 키 → 장소.장소id — NOT NULL

스타일 (style)

  • 스타일id (id) — bigInt — 기본 키 — NOT NULL
  • 스타일명 (name) — varChar

알림 (alarm)

  • 알림id (id) — bigInt — 기본 키 — NOT NULL
  • 알림유형 (dtype) — varChar
  • 제목 (title) — varChar
  • 알림내용 (description) — varChar
  • 사용자id (id2) — bigInt — 외래 키 → 사용자.사용자id — NOT NULL

알림설정 (alarm_setting)

  • 사용자id (member_id) — bigInt — 외래 키 → 사용자.사용자id — NOT NULL

장소 (place)

  • 장소id (id) — bigInt — 기본 키 — NOT NULL
  • 장소명 (name) — varChar
  • 위도 (lat) — double
  • 경도 (lon) — double
  • 주소 (address) — varChar
  • 태그 (tag) — json
  • 사용자id (member_id) — bigInt — 외래 키 → 사용자.사용자id — NOT NULL

취향 (prefer)

  • 취향id (id) — bigInt — 기본 키 — NOT NULL
  • 사용자id (member_id) — bigInt — 외래 키 → 사용자.사용자id — NOT NULL
  • 스타일id (style_id) — bigInt — 외래 키 → 스타일.스타일id — NOT NULL

큐레이션 규칙 (curation_rule)

  • 큐레이션 룰 id (id) — bigInt — 기본 키 — NOT NULL
  • 최소 온도 (min_temp) — Float
  • 최대 온도 (max_temp) — Float
  • 강수 여부 (rainy) — boolean
  • 추천 태그 (recommend_tag) — json

패션 (fashion)

  • 패션id (id) — bigInt — 기본 키 — NOT NULL
  • 패션명 (name) — varChar
  • 설명 (description) — varChar
  • 태그 (tag) — json

패션 규칙 (fashion_rule)

  • 패션 룰 id (id) — bigInt — 기본 키 — NOT NULL
  • 최소온도 (min_temp) — FLoat
  • 최대온도 (max_temp) — Float
  • 추천태그 (recommend_tag) — json