[go: up one dir, main page]

Skip to content

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 enum to 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 the int at the model layer as well.
  • User user_id as a foreign key
  • Completion time will be driven off the created_at column 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 🤖