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.

change migration to be compatible with rails 6.1

wjwitekea13d816e29e
diff --git a/core/db/migrate/20221215151408_add_selected_locale_to_spree_users.rb b/core/db/migrate/20221215151408_add_selected_locale_to_spree_users.rb
index 3655429b29..4466733048 100644
--- a/core/db/migrate/20221215151408_add_selected_locale_to_spree_users.rb
+++ b/core/db/migrate/20221215151408_add_selected_locale_to_spree_users.rb
@@ -1,4 +1,4 @@
-class AddSelectedLocaleToSpreeUsers < ActiveRecord::Migration[7.0]
+class AddSelectedLocaleToSpreeUsers < ActiveRecord::Migration[6.1]
def change
if Spree.user_class.present?
users_table_name = Spree.user_class.table_name