Phase 1: Create user onboarding progress table/model
Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.
Create user_onboarding_progresses table with the following data model.
Use this table structure:
- One row per task/event using
enumto define task types. Paying special attention to the idea that there maybe tasks removed or added in the future, so we may need to track theintat the model layer as well. - User
user_idas a foreign key - Completion time will be driven off the
created_atcolumn for each row. - model location should be
ee/app/models/onboarding/user_progress.rb
See our namespace based db structure that this will be replacing for an idea for initial enum values:
Inspired by Re-architect Learn GitLab Onboarding Progress t... (#527417 - closed)
Edited by 🤖 GitLab Bot 🤖