Update premium and ultimate titles in plans table
What does this MR do and why?
Related to #421459 (closed)
This MR adds a migration to update titles of the Premium and Ultimate plans to remove reference to legacy plan names.
Premium (Formerly Silver)
=> Premium
Ultimate (Formerly Gold
=> Ultimate
These plans were originally introduced in !53465 (merged) and enough time has passed since the new plans were introduced that the legacy plan names are no longer needed.
Migration Screenshots
Up
➜ rails db:migrate
main: == 20230815160428 RenamePlansTitlesWithLegacyPlanNames: migrating =============
main: -- execute("UPDATE plans SET title = 'Premium' WHERE name = 'premium'")
main: -> 0.0009s
main: -- execute("UPDATE plans SET title = 'Ultimate' WHERE name = 'ultimate'")
main: -> 0.0003s
main: == 20230815160428 RenamePlansTitlesWithLegacyPlanNames: migrated (0.0050s) ====
Down
➜ rails db:rollback:main VERSION=20230815160428
main: == 20230815160428 RenamePlansTitlesWithLegacyPlanNames: reverting =============
main: == 20230815160428 RenamePlansTitlesWithLegacyPlanNames: reverted (0.0042s) ====
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.