Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

last, zoom in-out 관련 확장을 위한 materialized view 제작 #54

Closed
3 tasks done
jpham005 opened this issue Nov 8, 2023 · 1 comment
Closed
3 tasks done
Assignees
Labels
enhancement New feature or request

Comments

@jpham005
Copy link
Member

jpham005 commented Nov 8, 2023

'mv' prefix 를 materialized view 를 위해 사용하기로 했습니다.

export class mv_daily_user_scale_team_counts {
  _id: ObjectID;
  date: Date;
  userId: number; // unique index with date
  count: number;
}

export class mv_daily_team_close_counts {
  _id: ObjectID;
  date: Date; // unique index
  count: number;
}

export class mv_daily_score_values {
  _id: ObjectID;
  date: Date;
  coalitionId: number; // unique index with date
  value: number;
}
@jpham005 jpham005 added this to 42Stat Nov 8, 2023
@jpham005 jpham005 converted this from a draft issue Nov 8, 2023
@jpham005 jpham005 self-assigned this Nov 8, 2023
@jpham005 jpham005 moved this from 📋 Backlog to 🔖 Ready in 42Stat Nov 8, 2023
@jpham005 jpham005 moved this from 🔖 Ready to 🏗 In progress in 42Stat Nov 8, 2023
@jpham005 jpham005 added the enhancement New feature or request label Nov 8, 2023
jpham005 added a commit that referenced this issue Nov 11, 2023
feat: ✨ mv_daily_scale_team_counts 추가
feat: ✨ mv_daily_team_close_counts 추가
feat: ✨ mv_daily_score_values 추가

- #54
jpham005 added a commit that referenced this issue Nov 11, 2023
feat: ✨ mv_daily_scale_team_counts 추가
feat: ✨ mv_daily_team_close_counts 추가
feat: ✨ mv_daily_score_values 추가
chore: ⬆️ mongodb client version update, TZ 시간 형태로 변경

- #54
@jpham005
Copy link
Member Author

alive user record 는 이후 42서울 신입생이 없을 것을 고려하여 transfer 온 2명만 수동으로 처리하고,
나머지는 기존 방식으로 해결하기로 했습니다.

@github-project-automation github-project-automation bot moved this from 🏗 In progress to ✅ Done in 42Stat Nov 11, 2023
jpham005 added a commit that referenced this issue Nov 13, 2023
feat: ✨ mv_daily_scale_team_counts 추가
feat: ✨ mv_daily_team_close_counts 추가
feat: ✨ mv_daily_score_values 추가
chore: ⬆️ mongodb client version update, TZ 시간 형태로 변경

- #54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Done
Development

No branches or pull requests

1 participant