위코드_인턴쉽_202309

테이블 (4)

Follow (follow)

  • follower_id — AI — 기본 키 — NOT NULL
  • following_id — AI — 외래 키 → User.id — NOT NULL
  • is_notification
  • created_at

User (user)

  • id — AI — 기본 키 — NOT NULL
  • user_name
  • deleted_at

인기 크리에이터 (curation_creator)

  • id — 기본 키 — NOT NULL
  • curation_id — 외래 키 → 큐레이션.id — NOT NULL
  • creator_id — AI — 외래 키 → User.id — NOT NULL
  • is_display
  • view_count
  • curation_order
  • deleted_at

큐레이션 (curation)

  • id — 기본 키 — NOT NULL
  • curation_type
  • country
  • is_display
  • deleted_at