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 to allow older Rails versions

Damian Legawiecdb8aac442610
diff --git a/core/db/migrate/20241014140140_translate_rich_texts.rb b/core/db/migrate/20241014140140_translate_rich_texts.rb
index e570e5bf45..35bafabeed 100644
--- a/core/db/migrate/20241014140140_translate_rich_texts.rb
+++ b/core/db/migrate/20241014140140_translate_rich_texts.rb
@@ -1,4 +1,4 @@
-class TranslateRichTexts < ActiveRecord::Migration[7.2]
+class TranslateRichTexts < ActiveRecord::Migration[6.1]
def change
if table_exists?(:action_text_rich_texts)
add_column :action_text_rich_texts, :locale, :string, null: false