This guide covers upgrading a Spree 5.0 application to Spree 5.1.
Before proceeding to upgrade, please ensure you’re at Spree 5.0
1. Update gems
bundle update
2. Install and run missing migrations
bin/rake spree:install:migrations && bin/rails db:migrate
3. Migrate admin user accounts to the new system
Spree 5.1 introduces a new better way of managing admin user accounts. To ensure your existing admin user accounts are migrated to the new system, run the following command:
bin/rake db:migrate_admin_users_to_role_users
Was this page helpful?