2025Xthon-11

Tables (6)

Category (실패 카테고리)

  • 아이디 (category_id) — int — Primary key — NOT NULL
  • 카테고리명 (name) — VARCHAR(100)
  • 질문1 (question1) — VARCHAR(255)
  • 질문2 (question2) — VARCHAR(255)
  • 질문3 (question3) — VARCHAR(255)

Project (프로젝트)

  • 아이디 (project_id) — int — Primary key — NOT NULL
  • 아이디 (user_id) — int — Foreign key → User.아이디 — NOT NULL
  • 프로젝트명 (name) — VARCHAR(255)
  • 기간 (period) — VARCHAR(255)
  • 인원 (personnel) — int
  • 의도 (intent) — TEXT
  • 자신의 역할 (my_role) — TEXT
  • 배운점 (growth_point) — TEXT
  • 판매상태 (sale_status) — ENUM('NOTSALE','FREE','ONSALE')
  • 생성 날짜 (created_at) — DATETIME(6)
  • 수정 날짜 (updated_at) — DATETIME(6)
  • 무료 여부 (is_free) — boolean
  • 가격 (price) — int
  • 프로젝트 산출물 링크 (result_url) — TEXT
  • 이미지url (image) — TEXT
  • 자기소개 (bio) — TEXT

ProjectCategory (프로젝트카테고리 매핑)

  • 아이디 (projectcategory_id) — int — Primary key — NOT NULL
  • 아이디 (category_id) — int — Foreign key → Category.아이디 — NOT NULL
  • 아이디 (project_id) — int — Foreign key → Project.아이디 — NOT NULL
  • 답변1 (answer1) — TEXT
  • 답변2 (answer2) — TEXT
  • 답변3 (answer3) — TEXT

Purchase (구매 이력)

  • 아이디 (purchase_id) — int — Primary key — NOT NULL
  • 아이디 (user_id) — int — Foreign key → User.아이디 — NOT NULL
  • 아이디 (project_id) — int — Foreign key → Project.아이디 — NOT NULL
  • 생성 날짜 (created_at) — DATETIME(6)

User (유저)

  • 아이디 (user_id) — int — Primary key — NOT NULL
  • 이름 (name) — VARCHAR(255)
  • 이메일 (email) — VARCHAR(255)
  • 닉네임 (nickname) — VARCHAR(255)
  • 보유 돈 (money) — int
  • 생성 날짜 (created_at) — DATETIME(6)
  • 수정 날짜 (updated_at) — DATETIME(6)
  • 프로필 이미지 (profile_image) — TEXT

UserProjectHelpful (유저-프로젝트 도움돼요 표시 매핑)

  • 아이디 (userprojecthelpful_id) — int — Primary key — NOT NULL
  • 아이디 (user_id) — int — Foreign key → User.아이디 — NOT NULL
  • 아이디 (project_id) — int — Foreign key → Project.아이디 — NOT NULL