Start saving registration_objective in both user_details table and user_details onboarding_status jsonb column
What does this MR do and why?
We added a new field for registration_objective in user_details.onboarding_status
jsonb column, this MR saves registration_objective to the new field while keeps saving it to user_details
table. Later we will backfill user_details.onboarding_status
with existing user_details.registration_objective
data and eventually drop user.registration_objective
.
References
Please include cross links to any resources that are relevant to this MR. This will give reviewers and future readers helpful context to give an efficient review of the changes introduced.
MR acceptance checklist
Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Screenshots or screen recordings
No visual changes.
Before | After |
---|---|
How to set up and validate locally
- Register a new user through /users/sign_up
- Verify in rails console the new user's user_details has
registration_objective
andonboarding_status_registration_objective
.
Related to #498740 (closed)