bigbro

Tables (6)

Cart (Untitled3)

  • user_id — int — Foreign key → Customers.pk — NOT NULL
  • 상품id (production_id) — int — Foreign key → Productions.pk — NOT NULL
  • 수량 (count) — int

Customers (Untitled)

  • pk (id) — int — Primary key — NOT NULL
  • 아이디 (username) — string
  • 비밀번호 (password) — string
  • 핸드폰 (phone) — string
  • 이메일 (email) — string
  • 관리자 (is_staff) — boolean
  • 마지막 로그인 (last_login) — datetime
  • 가입시간 (data_joined) — datetime

Deliver_address (Untitled2)

  • 주소 (address) — string
  • pk (user_id) — int — Foreign key → Customers.pk — NOT NULL

Orders (Untitled5)

  • 구매일 (date) — datetime
  • 가격 (price) — price
  • 상태 (status) — boolen
  • user_id — int — Foreign key → Customers.pk — NOT NULL
  • 상품id (production_id) — int — Foreign key → Productions.pk — NOT NULL

Productions (Untitled4)

  • pk (id) — int — Primary key — NOT NULL
  • 상품명 (name) — string
  • 상품설명 (description) — string
  • 가격 (price) — int
  • 타입 (type) — string
  • 하위 타입 (dtype) — string
  • 상태 (status) — boolen
  • 상품 사진 (image) — string

Uploads (Untitled6)

  • image — Imagefield
  • 상품id (production_id) — int — Foreign key → Productions.pk — NOT NULL