TDD

테이블 (7)

리뷰 (Review)

  • 리뷰 id (id) — int — 기본 키 — NOT NULL
  • 생성일 (createdAt) — timestamp — NOT NULL
  • 수정일 (updatedAt) — timestamp — NOT NULL
  • 삭제일 (deletedAt) — timestamp — NOT NULL

상품 (Product)

  • 상품 id (id) — int — 기본 키 — NOT NULL
  • 생성일 (createdAt) — timestamp — NOT NULL
  • 수정일 (updatedAt) — timestamp — NOT NULL
  • 삭제일 (deletedAt) — timestamp — NOT NULL

상품 카테고리 (ProductCategory)

  • 상품 카테고리 id (id) — int — 기본 키 — NOT NULL
  • 생성일 (createdAt) — timestamp — NOT NULL
  • 수정일 (updatedAt) — timestamp — NOT NULL
  • 삭제일 (deletedAt) — timestamp — NOT NULL

유저 (User)

  • 유저 id (id) — int — 기본 키 — NOT NULL
  • 생성일 (createdAt) — timestamp — NOT NULL
  • 수정일 (updatedAt) — timestamp — NOT NULL
  • 삭제일 (deletedAt) — timestamp — NOT NULL

장바구니 (Cart)

  • 장바구니 id (id) — int — 기본 키 — NOT NULL
  • 생성일 (createdAt) — timestamp — NOT NULL
  • 수정일 (updatedAt) — timestamp — NOT NULL
  • 삭제일 (deletedAt) — timestamp — NOT NULL

주문내역 (Order)

  • 주문내역 id (id) — int — 기본 키 — NOT NULL
  • 생성일 (createdAt) — timestamp — NOT NULL
  • 수정일 (updatedAt) — timestamp — NOT NULL
  • 삭제일 (deletedAt) — timestamp — NOT NULL

주문내역 상세 (OrderDetail)

  • 주문내역 상세 id (id) — int — 기본 키 — NOT NULL
  • 생성일 (createdAt) — timestamp — NOT NULL
  • 수정일 (updatedAt) — timestamp — NOT NULL
  • 삭제일 (deletedAt) — timestamp — NOT NULL