Skip to content

Create a migration to insert trail plans

Shreyas Agarwal requested to merge 322043-insert-plan-trial into master

What does this MR do?

This migration helps in creating 2 plans for trials. One for ultimate and other for platinum. These ids would be used by the gitlab_subscriptions table which will help us organize the limits for the namespaces instead of providing a ultimate plan for the trial.

Up Migration

rake db:migrate
== 20210329102724 AddNewTrailPlans: migrating =================================
== 20210329102724 AddNewTrailPlans: migrated (0.0691s) ========================

Down Migration

rake db:rollback
== 20210329102724 AddNewTrailPlans: reverting =================================
== 20210329102724 AddNewTrailPlans: reverted (0.0795s) ========================

Conformity

Availability and Testing

Security

If this MR contains changes to processing or storing of credentials or tokens, authorization and authentication methods and other items described in the security review guidelines:

  • [-] Label as security and @ mention @gitlab-com/gl-security/appsec
  • [-] The MR includes necessary changes to maintain consistency between UI, API, email, or other methods
  • [-] Security reports checked/validated by a reviewer from the AppSec team

Related to #322043 (closed)

Edited by Mayra Cabrera

Merge request reports