coffee-shopping
Tables (5)
order_items (Untitled4)
- id — NOTNULL — Primary key — NOT NULL
- 주문 가격 (price) — NOTNULL
- 주문 수량 (quantity) — NOTNULL
- 생성 시간 (created_at) — NULL
- 수정시간 (updated_at) — NULL
- 주문 아이디 (order_id) — NOTNULL — Foreign key → orders.id — NOT NULL
- 상품 아이디 (product_id) — NOTNULL — Foreign key → products.id — NOT NULL
orders (Untitled3)
- id — NOTNULL — Primary key — NOT NULL
- 주문 이메일 (email) — NOTNULL
- 주문 상태 (status) — NOTNULL
- 주소 (address) — NOTNULL
- 생성시간 (created_at) — NULL
- 수정시간 (updated_at) — NULL
- id (user_id) — NOTNULL — Foreign key → users.id — NOT NULL
products (Untitled2)
- id — NOTNULL — Primary key — NOT NULL
- 상품 이름 (name) — NOTNULL
- 상품 가격 (price) — NOTNULL
- 상품 수량 (quantity) — NOTNULL
- 생성시간 (created_at) — NULL
- 수정시간 (updated_at) — NULL
users (Untitled)
- id — NOTNULL — Primary key — NOT NULL
- email — NOTNULL
vouchers (Untitled5)
- id — NOTNULL — Primary key — NOT NULL
- 유저 아이디 (user_id) — NOTNULL — Foreign key → users.id — NOT NULL
- 할인 금액 (price) — NOTNULL
- Field