TodoPang-ERD

Tables (13)

AccessLog (alog_) (접속로그)

  • 로그ID (id) — Int — Primary key — NOT NULL
  • 사용자 ID (user_id) — String — Foreign key → User ( user_ ).사용자 ID — NOT NULL
  • 접속기록 (date) — String

ChallengeInfo ( chlg_ ) (도전과제 정보 ( CD / FB ))

  • 도전과제 ID (chlg_id) — Int — Primary key — NOT NULL
  • 제목 (title) — String
  • 설명 (desc) — text
  • 목표 (goal) — Int
  • 타입 (type) — Int
  • 보상 (reward) — Int
  • 단계 (step) — Int
  • 버젼 (version) — Int

ChallengeStatus( chlg_ ) (도전과제 상태)

  • 사용자 ID (user_id) — String — Foreign key → User ( user_ ).사용자 ID — NOT NULL
  • 도전과제 ID (chlg_id) — Int — Foreign key → ChallengeInfo ( chlg_ ).도전과제 ID — NOT NULL
  • 상태 (status) — Bool
  • 잠김 (lock) — Bool
  • 사용자 진행도 (progress) — Int
  • 나의 도전과제 선택여부 (select_status) — Bool
  • 나의 도전과제 선택일 (selected_at) — String
  • 나의 도전과제 해제일 (unselected_at) — String
  • 도전과제 완료일 (finished_at) — String

Config (cfg_) (설정정보)

  • 사용자 ID (user_id) — String — Foreign key → User ( user_ ).사용자 ID — NOT NULL
  • 등록가능 목표 개수 (project_limit) — Int
  • 등록가능 할일 개수 (todo_limit) — Int
  • 날짜연장 비율 (drop_ratio) — float
  • 서버동기화 주기 (sync_cycle) — Int
  • 업데이트버젼 (version) — Int

DailyTodoRegistLog (log_) (할일등록개수로그 ( FB / CD ))

  • 프로젝트 ID (proj_id) — Int — Foreign key → Project.프로젝트 ID — NOT NULL
  • 사용자 ID (user_id) — String — Foreign key → Project.사용자 ID — NOT NULL
  • 등록개수 (registed_todos) — Int
  • 등록일 (registed_at) — String

NewStat ( stat_ ) (CopyOf서비스이용정보 ( FB / CD ))

  • 사용자 ID (user_id) — String — Foreign key → User ( user_ ).사용자 ID — NOT NULL
  • 서비스 사용일수 (term) — Int
  • 물방울 개수 (drop) — Int
  • 전체 등록목표 개수 (total_registed_projects) — Int
  • 전체 완료목표 개수 (total_finished_projects) — Int
  • 전체 실패목표 개수 (total_failed_projects) — Int
  • 전체 경고횟수 (total_alerted_projects) — Int
  • 전체 목표연장 횟수 (total_extended_projects) — Int
  • 전체 등록할일 개수 (total_registed_todos) — Int
  • 전체 완료할일 개수 (total_finished_todos) — Int
  • 완료 도전과제 개수 (finished_challenges) — Int
  • 도전과제 단계 (challenge_step_status) — [Int : Int]
  • 나의 도전과제 (mychallenges) — [Int]
  • 서버동기화 날짜 (synced_at) — String

Notification ( noti_ ) (알림 ( CD ))

  • 알림 ID (id) — Int64 — Primary key — NOT NULL
  • 메세지 (msg) — String
  • 확인 (check) — Bool
  • 종류 (type) — String
  • 생성일 (created_at) — Date
  • 확인일 (checked_at) — Date

Project (목표정보 ( FB / CD ))

  • 프로젝트 ID (project_id) — Int — Primary key — NOT NULL
  • 사용자 ID (user_id) — String — Foreign key → User ( user_ ).사용자 ID — NOT NULL
  • 제목 (title) — String
  • 상태 (status) — Int
  • 등록할일 개수 (total_registed_todo) — Int
  • 당일 등록할일 개수 (daily_registed_todo) — Int
  • 완료할일 개수 (finished_todo) — Int
  • 경고발생 횟수 (alerted) — Int
  • 최종 연장횟수 (extended_count) — Int
  • 등록일 (registed_at) — String
  • 시작일 (started_at) — String
  • 마감일 (deadline) — String
  • 종료일 (finished_at) — String
  • 서버동기화 날짜 (sync_at) — String

Project Log ( log_ ) (프로젝트 로그 ( FB / CD ))

  • 프로젝트 ID (project_id) — Int
  • 제목 (title) — String
  • 상태 (status) — String
  • 경고발생 횟수 (alert_count) — Int
  • 등록일 (registed_at) — String
  • 시작일 (started_at) — String
  • 정보수정일 (changed_at) — String
  • 삭제일 (deleted_at) — String
  • 완료일 (finished_at) — String
  • 서버업로드일 (uploaded_at) — String
  • 기한연장 횟수 (extended_count) — Int
  • 기한연장 시점 (extended_at) — [Int : String]
  • 마감일 (deadline) — [Int : String]
  • 등록된 할 일 (todo_registed) — [Int : Int]
  • 완료한 할 일 (todo_finished) — [Int : Int]
  • 사용된 물방울 (used_drop) — [Int : Int]
  • 저장된 물방울 (stored_drop) — [Int : Int]

ProjectExtendLog (log_) (목표연장로그 ( FB / CD ))

  • 연장횟수 (extended) — Int — Primary key — NOT NULL
  • 프로젝트 ID (proj_id) — Int — Foreign key → Project.프로젝트 ID — NOT NULL
  • 사용자 ID (user_id) — String — Foreign key → Project.사용자 ID — NOT NULL
  • 등록할일 개수 (registed_todo) — Int
  • 완료할일 개수 (finished_todo) — Int
  • 사용된 물방울 (used_drop) — Int
  • 저장된 물방울 (stored_drop) — Int
  • 연장시점 (recorded_at) — String
  • 변경된 마감일 (updated_deadline) — String

Stat ( stat_ ) (서비스이용정보 ( FB / CD ))

  • 사용자 ID (user_id) — String — Foreign key → User ( user_ ).사용자 ID — NOT NULL
  • 서비스 사용일수 (term) — Int
  • 물방울 개수 (drop) — Int
  • 전체 등록목표 개수 (total_registed_projects) — Int
  • 전체 완료목표 개수 (total_finished_projects) — Int
  • 전체 실패목표 개수 (total_failed_projects) — Int
  • 전체 경고횟수 (total_alerted_projects) — Int
  • 전체 목표연장 횟수 (total_extended_projects) — Int
  • 전체 등록할일 개수 (total_registed_todos) — Int
  • 전체 완료할일 개수 (total_finished_todos) — Int
  • 완료 도전과제 개수 (finished_challenges) — Int
  • 도전과제 단계 (challenge_step_status) — [Int : Int]
  • 나의 도전과제 (mychallenges) — [Int]
  • 서버동기화 날짜 (synced_at) — String

Todo ( todo_ ) (할 일 ( CD ))

  • 할일 ID (todo_id) — Int — Primary key — NOT NULL
  • 프로젝트 ID (proj_id) — Int — Foreign key → Project.프로젝트 ID — NOT NULL
  • 사용자 ID (user_id) — String — Foreign key → Project.사용자 ID — NOT NULL
  • 내용 (desc) — String
  • 고정 (pinned) — Bool
  • 상태 (finished) — Bool

User ( user_ ) (회원정보)

  • 사용자 ID (id) — String — Primary key — NOT NULL
  • 이메일 (email) — String
  • 닉네임 (name) — String
  • 소셜종류 (social_type) — Int
  • 상태 (status) — Int
  • 생성일 (created_at) — String
  • 프로필 수정일 (updated_at) — String
  • 삭제 요청일 (deleted_at) — String
  • 마지막 로그인일 (last_login_at) — String
  • 마지막 로그아웃일 (last_logout_at) — String
  • Field