Skip to content

armgit / spree

Public Imported from GitHub
0

Open Source Platform for DTC, B2B Commerce, Marketplaces & Omnichannel. REST APIs, TypeScript SDKs, and production-ready Next.js storefront. Self-host it. Own your data. No vendor lock-in. Zero platform fees.

Added note about RMA migration fix to 4.2 upgrade guide

Damian Legawiecc2b6a74f8e57
diff --git a/guides/src/content/developer/upgrades/four-dot-one-to-four-dot-two.md b/guides/src/content/developer/upgrades/four-dot-one-to-four-dot-two.md
index 7dc4f9a3ee..d5fad4d6a3 100644
--- a/guides/src/content/developer/upgrades/four-dot-one-to-four-dot-two.md
+++ b/guides/src/content/developer/upgrades/four-dot-one-to-four-dot-two.md
@@ -23,7 +23,25 @@ gem 'spree_auth_devise', '~> 4.3'
gem 'spree_gateway', '~> 3.9'
```
-## Run `bundle update`
+## Update gems
+
+```
+bundle update
+```
+
+## Fix RMA migration
+
+Please find a `add_stock_location_to_rma` migration in your `db/migrate` directory and change:
+
+```ruby
+class AddStockLocationToRma < ActiveRecord::Migration[4.2]
+```
+
+to
+
+```ruby
+class AddStockLocationToRMA < ActiveRecord::Migration[4.2]
+```
## Install missing migrations