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.

Fix migration for Rails 6.0

Damian Legawiec2a5a8545165c
diff --git a/core/db/migrate/20210504203531_rename_param_to_filter_param_on_spree_product_properties.rb b/core/db/migrate/20210504203531_rename_param_to_filter_param_on_spree_product_properties.rb
index 96cd87b998..35546c0109 100644
--- a/core/db/migrate/20210504203531_rename_param_to_filter_param_on_spree_product_properties.rb
+++ b/core/db/migrate/20210504203531_rename_param_to_filter_param_on_spree_product_properties.rb
@@ -1,4 +1,4 @@
-class RenameParamToFilterParamOnSpreeProductProperties < ActiveRecord::Migration[6.1]
+class RenameParamToFilterParamOnSpreeProductProperties < ActiveRecord::Migration[6.0]
def change
rename_column :spree_product_properties, :param, :filter_param
end