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.

Rename migration file to fix issue with packing gem

Rafal Cymerysaf13aaac0475
diff --git a/core/db/migrate/20220715083542_create_spree_product_meta_description_and_meta_keywords_and_meta_title_translations_for_mobility_table_backend.rb b/core/db/migrate/20220715083542_create_spree_product_translations_for_mobility.rb
similarity index 68%
rename from core/db/migrate/20220715083542_create_spree_product_meta_description_and_meta_keywords_and_meta_title_translations_for_mobility_table_backend.rb
rename to core/db/migrate/20220715083542_create_spree_product_translations_for_mobility.rb
index 5d712d9cb0..2b45f883f8 100644
--- a/core/db/migrate/20220715083542_create_spree_product_meta_description_and_meta_keywords_and_meta_title_translations_for_mobility_table_backend.rb
+++ b/core/db/migrate/20220715083542_create_spree_product_translations_for_mobility.rb
@@ -1,4 +1,4 @@
-class CreateSpreeProductMetaDescriptionAndMetaKeywordsAndMetaTitleTranslationsForMobilityTableBackend < ActiveRecord::Migration[6.1]
+class CreateSpreeProductTranslationsForMobility < ActiveRecord::Migration[6.1]
def change
add_column :spree_product_translations, :meta_description, :text, if_not_exists: true
add_column :spree_product_translations, :meta_keywords, :string, if_not_exists: true