qwik-erd
테이블 (5)
배포 (deployments)
- deployment_id (PK) — 기본 키 — NOT NULL
- project_id (PK2) — 외래 키 → 프로젝트.project_id — NOT NULL
- commit_data (hash/message/time)
- branch (main 고정)
- status (success/failed)
- deployed_at (Field6)
- created_at (Field7)
- build_status (Field)
사용자 (users)
- user_id (PK) — 기본 키 — NOT NULL
- plan_id (FK) — 외래 키 → 플랜.plan_id
- github_id (github 사용자 id)
- github_username (Field)
- email (Field2)
- github_access_token (Field3)
- created_at (Field4)
- updated_at (Field5)
커스텀도메인 (CustomDomains)
- domain_id (PK) — 기본 키 — NOT NULL
- project_id (PK2) — 외래 키 → 프로젝트.project_id — NOT NULL
- domain_name (Field)
- status (Field2)
- verified_at (Field3)
- created_at (Field4)
프로젝트 (projects)
- project_id (PK) — 기본 키 — NOT NULL
- user_id (FK) — 외래 키 → 사용자.user_id — NOT NULL
- project_name (Field)
- github_repo_full_name (Field3)
- default_subdomain (Field4)
- created_at (Field5)
- updated_at (Field6)
- status (active/inactive)
플랜 (plans)
- plan_id (PK) — 기본 키
- free (Field)
- pro (Field2)
- max (Field3)