크라우드 펀딩

테이블 (3)

participate (참여자)

  • id (유저 아이디) — int — 외래 키 → user.id — NOT NULL
  • id (제품 아이디) — int — 외래 키 → product.id — NOT NULL

product (Untitled2)

  • id (제품 아이디) — int — 기본 키 — NOT NULL
  • id (유저 아이디) — int — 외래 키 → user.id — NOT NULL
  • title (제목) — char
  • description (상품설명) — char
  • target_amount (목표금액) — int
  • end_date (펀딩 종료일) — dateTime
  • ont_time_amount (1회 펀딩금액) — int
  • creation_date (생성일) — dateTime
  • tot_amount (펀딩 총 금액) — int

user (Untitled)

  • id (유저 아이디) — int — 기본 키 — NOT NULL
  • name (Field) — char
  • email (Field2) — char
  • password (Field3) — ?