Page MenuHomePhabricator

Mentorship: move growthexperiments-mentor-away-timestamp user option to community configuration storage
Closed, DuplicatePublic

Description

For historic reasons the status from a mentor (active or away until some date time) has been stored as as user option. It's been considered by Growth engineers that storing this value in CommunityConfiguration storage (currently a wikipage) would make sense to consolidate (?) the source of mentor data.

This task is to define the steps to get there and implement them.

Migration steps (draft):
Current status is "Write and read from DB"

  1. Write both and read from DB
  2. Write both and read from config
  3. Write and read from config (=migration done, clean up DB)

Probably steps (1) and (2) need to be done together with the run of a dedicated migration scripts since these values can be randomly updated.