까까스_크롤링

테이블 (6)

exclude_keyword

  • id — BIGINT — 기본 키 — NOT NULL
  • keyword — VARCHAR(50) — NOT NULL
  • product_id — bigint — 외래 키 → product.id — NOT NULL

product

  • id — bigint — 기본 키 — NOT NULL
  • name — string — NOT NULL
  • 판매url (sale_url) — string — NOT NULL
  • 번개장터url (bunjang_url) — string

product_alias

  • id — BIGINT — 기본 키 — NOT NULL
  • alias — string — NOT NULL
  • 대체단어 (replacement) — string — NOT NULL
  • product_id — bitint — 외래 키 → product.id — NOT NULL

sale_price

  • id — BIGINT — 기본 키 — NOT NULL
  • price — int — NOT NULL
  • sitename — ENUM — NOT NULL
  • crawled_at — DATETIME — NOT NULL
  • product_id — bigint — 외래 키 → product.id — NOT NULL

search_keyword

  • id — 기본 키 — NOT NULL
  • keyword — VARCHAR(50) — NOT NULL
  • product_id — bigint — 외래 키 → product.id — NOT NULL

used_price

  • id — BIGINT — 기본 키 — NOT NULL
  • price — int — NOT NULL
  • 표본수 (sample_count) — int — NOT NULL
  • crawled_at — DATETIME — NOT NULL
  • 최소금액 (min_price) — int
  • 최대금액 (max_price) — int
  • product_id — bigint — 외래 키 → product.id — NOT NULL