Skip to content

Add migrations to enhance the association between Namespaces and GL.com plans

Rubén Dávila requested to merge 2392-activate-gitlab-com-pricing-plans into master

What does this MR do?

It modifies the DB schema to use a foreign key to associate a Namespace with a Plan instead of string the plan name as a String. Additionally it migrates the plan names to their corresponding Plan ID.

Are there points in the code the reviewer needs to double check?

We need to run a script in order to migrate all free users on GL.com to the Early Adopter plan, in order to do it I've created the following script: https://gitlab.com/gitlab-org/gitlab-ee/snippets/1670522

Why was this MR needed?

https://gitlab.com/gitlab-org/gitlab-ee/issues/2391#background

Screenshots (if relevant)

Does this MR meet the acceptance criteria?

What are the relevant issue numbers?

Closes #2391

Edited by Rubén Dávila

Merge request reports