Skip to content

Commit

Permalink
Add upgrade task for Solidus 3.0
Browse files Browse the repository at this point in the history
The migration task to 3.0 includes the task for populating the
`spree_address.name` field. It is recommended that this task is
run before upgrading to Solidus 3.0, but when the app is updated
to the latest 2.11.x version.
  • Loading branch information
spaghetticode committed Feb 26, 2021
1 parent 9f9226d commit 2b7acce
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions core/lib/tasks/upgrade.rake
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,12 @@ namespace :solidus do
] do
puts "Your Solidus install is ready for Solidus 2.11.0"
end

desc "Upgrade Solidus to version 3.0"
task three_point_zero: [
'solidus:migrations:migrate_address_names:up'
] do
puts "Your Solidus install is ready for Solidus 3.0"
end
end
end

0 comments on commit 2b7acce

Please sign in to comment.