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.

Update 20250120152208_add_default_locale_to_action_text_rich_texts.rb (#12384)

Damian Legawiecab5e263121dd
diff --git a/core/db/migrate/20250120152208_add_default_locale_to_action_text_rich_texts.rb b/core/db/migrate/20250120152208_add_default_locale_to_action_text_rich_texts.rb
index 23dc101f57..01753bbcc0 100644
--- a/core/db/migrate/20250120152208_add_default_locale_to_action_text_rich_texts.rb
+++ b/core/db/migrate/20250120152208_add_default_locale_to_action_text_rich_texts.rb
@@ -1,4 +1,4 @@
-class AddDefaultLocaleToActionTextRichTexts < ActiveRecord::Migration[7.2]
+class AddDefaultLocaleToActionTextRichTexts < ActiveRecord::Migration[6.1]
def change
if ActionText::RichText.column_defaults['locale'].nil?
change_column_default :action_text_rich_texts, :locale, from: nil, to: :en