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 version for Rails 6.0 support

Damian Legawiec7439f2aad26e
diff --git a/core/db/migrate/20210112193440_remove_contact_email_from_spree_stores.rb b/core/db/migrate/20210112193440_remove_contact_email_from_spree_stores.rb
index 652e66a774..46f0478b40 100644
--- a/core/db/migrate/20210112193440_remove_contact_email_from_spree_stores.rb
+++ b/core/db/migrate/20210112193440_remove_contact_email_from_spree_stores.rb
@@ -1,4 +1,4 @@
-class RemoveContactEmailFromSpreeStores < ActiveRecord::Migration[6.1]
+class RemoveContactEmailFromSpreeStores < ActiveRecord::Migration[6.0]
def change
remove_column :spree_stores, :contact_email
end