Backend: Migrate dotenv_variables values for Bronze/Silver/Gold to match Premium/Ultimate plans..

Summary

Currently, the dotenv_variables value in our bronze, silver and gold plans are set to a lower value than our free plan as noted by the output below. Though these plans may no longer be in use and have migrated to premium and ultimate plans, the values should be updated so that they are consistent with how they should look compared to other GitLab plans.

gitlabhq_production=> select name, dotenv_size, dotenv_variables from plan_limits inner join plans on plan_limits.plan_id = plans.id;
      name      | dotenv_size | dotenv_variables
----------------+-------------+------------------
 early_adopter  |        5120 |               20
 bronze         |        5120 |               20
 silver         |        5120 |               20
 gold           |        5120 |               20
 free           |        5120 |               50
 default        |        5120 |              150
 premium        |        5120 |              100
 ultimate       |        5120 |              150
 ultimate_trial |        5120 |              150
 premium_trial  |        5120 |              100
 opensource     |        5120 |              150
(11 rows)

Solution

Create a migration like the previous one that set these values so that they are brought up to be in alignment with what the correct dotenv_variables size should be.

Those values in bronze, silver and gold should match with the Premium and Ultimate plans that replaced them.

Edited by Mark Nuzzo