coffemanager

Tables (3)

Order

  • 상품명 (product_name) — NOT NULL — Primary key — NOT NULL
  • 이메일 (email) — NOT NULL
  • 사용자아이디 (user_id) — NOT NULL
  • 주문수량 (order_cnt) — NULL
  • 주문날짜 (order_date) — DEAFULT now()

Product

  • 상품명 (name) — NOT NULL — Primary key — NOT NULL
  • 상품번호 (id) — NOT NULL
  • 상품 정보 (description) — NOT NULL
  • 상품가격 (price) — NOT NULL
  • 생산날짜 (order_date) — DEAFULT now()
  • 이미지주소 (imageUrl) — NOT NULL

user (User)

  • 고유 번호 (id) — Primary key — NOT NULL
  • 사용자이름 (username) — NOT NULL
  • 이메일 (email) — NOT NULL
  • 전화번호 (phone) — NOT NULL
  • 비밀번호 (password) — NOT NULL
  • 권한 (role) — DEFAULT 'USER'
  • 계정생성시간 (created_at) — DEFAULT CURRENT_TIMESTAMP