test

테이블 (5)

사용자 (User)

  • 아이디 (id) — Integer — 기본 키 — NOT NULL
  • 비밀번호 (pw) — Char
  • 타입 (type) — Char
  • 이름 (name) — Char

주문 (Order)

  • 아이디 (id) — Integer — 기본 키 — NOT NULL
  • 아이디 (cart_id) — Integer — 외래 키 → 카트.아이디 — NOT NULL
  • 아이디 (user_id) — Integer — 외래 키 → 사용자.아이디 — NOT NULL
  • 날짜 (date) — Datetime
  • 총 가격 (total) — Integer
  • 상태 (status) — Char
  • 목적지 (dest) — Char

카트 (Cart)

  • 아이디 (id) — Integer — 기본 키 — NOT NULL
  • 아이디 (user_id) — Integer — 외래 키 → 사용자.아이디 — NOT NULL
  • 갯수 (items_cnt) — Integer

회원2

  • 아이디 (id) — Integer — 기본 키 — NOT NULL
  • Field

회원가입 (SignUP)

  • Key — 기본 키 — NOT NULL
  • 유저 (user) — Varchar(200) — NOT NULL
  • Field