umc

테이블 (19)

Copy Of Untitled (review)

  • Key (id) — bigint(20) — 기본 키 — NOT NULL
  • 회원ID (member_id) — bigint(20) — 외래 키 → 회원.회원ID — NOT NULL
  • Field (content) — text
  • Field (created_at) — datetime(6)
  • Field (updated_at) — datetime(6)
  • Key (restaurant_id) — bigint(20) — 외래 키 → Untitled.Key — NOT NULL
  • Field (grade) — float

Untitled (inquiry)

  • Key (id) — bigint(20) — 기본 키 — NOT NULL
  • 회원ID (member_id) — bigint(20) — 외래 키 → 회원.회원ID — NOT NULL
  • Field (title) — varchar(45)
  • Field (content) — text
  • Field (inquiry_type) — enum
  • Field (status) — enum
  • Field (created_at) — datetime(6)
  • Field (updated_at) — datetime(6)

Untitled (location)

  • Key (id) — bigint(20) — 기본 키 — NOT NULL
  • Field (location_name) — varchar(45)

Untitled (restaurant_location)

  • Key (id) — bigint(20) — 기본 키 — NOT NULL
  • Key (restaurant_id) — bigint(20) — 외래 키 → Untitled.Key — NOT NULL
  • Key (location_id) — bigint(20) — 외래 키 → Untitled.Key — NOT NULL

Untitled (restaurant_operation)

  • Key (id) — bigint(20) — 기본 키 — NOT NULL
  • Key (restaurant_id) — bigint(20) — 외래 키 → Untitled.Key — NOT NULL
  • Field (open) — datetime(6)
  • Field (close) — datetime(6)
  • Field (created_at) — datetime(6)
  • Field (updated_at) — datetime(6)

Untitled (member_mission)

  • Key (id) — bigint(20) — 기본 키 — NOT NULL
  • Key (member_id) — bigint(20 — 외래 키 → Untitled.Key — NOT NULL
  • 회원ID (mission_id) — bigint(20) — 외래 키 → 회원.회원ID — NOT NULL
  • Field (status) — enum
  • Field (created_at) — datetime(6)
  • Field (updated_at) — datetime(6)

Untitled (restaurant)

  • Key (id) — bigint(20) — 기본 키 — NOT NULL
  • Field (title) — varchar(45)
  • Field (grade) — float
  • Field (created_at) — datetime(6)
  • Field (updated_at) — datetime(6)
  • Field (location) — text
  • Field (restautant_type) — enum

Untitled (mission)

  • Key (id) — bigint(20 — 기본 키 — NOT NULL
  • Key (restaurant_id) — bigint(20) — 외래 키 → Untitled.Key — NOT NULL
  • Field (created_at) — datetime(6)
  • Field (updated_at) — datetime(6)
  • Field (status) — enum
  • Field (reward) — int
  • Field (content) — text
  • Field (closed_at) — datetime(6)

Untitled (review_image)

  • Key (id) — bigint(20) — 기본 키 — NOT NULL
  • Key (review_id) — bigint(20) — 외래 키 → Copy Of Untitled.Key — NOT NULL
  • Field (image_url) — text

Untitled (inquiry_image)

  • Key (id) — bigint(20) — 기본 키 — NOT NULL
  • Key (inquiry_id) — bigint(20) — 외래 키 → Untitled.Key — NOT NULL
  • Field (image_url) — text

Untitled (notification)

  • Key (id) — bigint(20) — 기본 키 — NOT NULL
  • Key (notification_type_id) — bigint(20) — 외래 키 → Untitled.Key — NOT NULL
  • Field (content) — text
  • Field (created_at) — datetime(6)
  • Field (updated_at) — datetime(6)

Untitled (notification_type)

  • Key (id) — bigint(20) — 기본 키 — NOT NULL
  • Field (notification_type) — varchar(45)

Untitled (member_notification_agree)

  • Key (id) — bigint(20) — 기본 키 — NOT NULL
  • 회원ID (member_id) — bigint(20) — 외래 키 → 회원.회원ID — NOT NULL
  • Key (notification_type_id) — bigint(20) — 외래 키 → Untitled.Key — NOT NULL
  • Field (is_agree) — boolean

Untitled (member_notification)

  • Key (id) — bigint(20) — 기본 키 — NOT NULL
  • 회원ID (member_id) — bigint(20) — 외래 키 → 회원.회원ID — NOT NULL
  • Key (notification_id) — bigint(20) — 외래 키 → Untitled.Key — NOT NULL
  • Field (is_read) — boolean

Untitled (member_prefer)

  • Key (id) — bigint(20) — 기본 키 — NOT NULL
  • Key (food_category_id) — bigint(20) — 외래 키 → Untitled.Key — NOT NULL
  • 회원ID (member_id) — bigint(20) — 외래 키 → 회원.회원ID — NOT NULL

Untitled (food_category)

  • Key (id) — bigint(20) — 기본 키 — NOT NULL
  • Field (category_name) — varchar(45)
  • Field (created_at) — datetime(6)
  • Field (updated_at) — datetime(6)

Untitled (term)

  • Key (id) — bigint(20) — 기본 키 — NOT NULL
  • Field (is_essential) — boolean
  • Field (created_at) — datetime(6)
  • Field (updated_at) — datetime(6)

Untitled (member_agree)

  • Key (id) — bigint(20) — 기본 키 — NOT NULL
  • Field (agreed) — boolean
  • 회원ID (term_id) — bigint(20) — 외래 키 → 회원.회원ID — NOT NULL
  • Key (member_id) — bigint(20) — 외래 키 → Untitled.Key — NOT NULL

회원 (member)

  • 회원ID (id) — bigint(20) — 기본 키 — NOT NULL
  • Field (name) — varchar(20)
  • Field2 (gender) — int
  • Field (birthday) — datetime
  • Field (address) — varchar(60)
  • Field (password) — varchar(45)
  • Field (created_at) — datetime(6)
  • Field (updated_at) — datetime(6)
  • Field (status) — enum
  • Field (email) — varchar(45)
  • Field (point) — int
  • Field (block_date) — datetime(6)
  • Field (social) — enum