waffice-fastapi

Tables (3)

projects (Project)

  • id — BIGINT — Primary key — NOT NULL
  • 이름 (name) — VARCHAR
  • 상태 (status) — ENUM
  • Field

qualification_histories (QualificationHistory)

  • id — BIGINT — Primary key — NOT NULL
  • waffice user의 고유식별자 (user_id) — VARCHAR — Foreign key → users.waffice user의 고유식별자 — NOT NULL
  • 변동 후 자격 (qualified_as) — Enum — pending: 가입 대기 / associate: 준회원 / regular: 정회원 / active: 활동회원
  • 변동 사유 (reason) — JSON — { "type": Literal["initial", "promotion", "activation", "deactivation", "discipline"] "content": str }
  • 변동일 (created_at) — BIGINT

users (User)

  • waffice user의 고유식별자 (id) — BIGINT — Primary key — NOT NULL
  • Google OAuth 연동용 고유식별자 (google_id) — VARCHAR
  • 이메일 (email) — VARCHAR
  • 기수 (generation) — VARCHAR
  • 회원 자격 (qualification) — Enum — pending: 가입 대기 / associate: 준회원 / regular: 정회원 / active: 활동회원
  • 운영진 여부 (is_admin) — BOOLEAN
  • 휴대전화번호 (phone) — VARCHAR
  • 소속(학부/직장) (affiliation) — VARCHAR
  • 자기소개 (bio) — TEXT
  • 프로필 이미지 S3 URL (avatar_url) — VARCHAR
  • 깃허브 username (github_username) — VARCHAR
  • 슬랙 ID (slack_id) — VARCHAR
  • 개인 웹사이트 목록 (websites) — JSONArray — {url, type:Literal["github", "linkedin", "instagram", "facebook", "others"]. description?} 예시 - [{"url": "https://githu…
  • 생성일 (created_at) — BIGINT
  • 수정일 (updated_at) — BIGINT
  • 삭제일 (deleted_at) — BIGINT — NOT NULL