order

Tables (4)

coffee (Untitled2)

  • 식별자 (coffeeId) — NOTNULL — Primary key — NOT NULL
  • 이름 (name)
  • 가격 (price)
  • Field3

member (Untitled)

  • 식별자 (memberId) — NOTNULL — Primary key — NOT NULL
  • 이름 (name) — NOTNULL
  • 이메일 (email) — NOTNULL
  • 전화번호 (phone) — NOTNULL

order (Untitled3)

  • 식별자 (orderId) — NOTNULL — Primary key — NOT NULL
  • 왜래키 (memberId2) — NOTNULL — Foreign key → member.식별자 — NOT NULL
  • 수량 (quantity)
  • 주문시간 (createdAt)
  • 이름 (name)
  • 전화번호 (phone)

ordercoffee (Untitled4)

  • 식별자 (ordercoffeeId) — NOTNULL
  • Field2 (orderId) — bigint
  • Field3
  • Field4