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.
Ruby b2b-commercee-commerceecommerceecommerce-apiecommerce-frameworkecommerce-platformheadlessheadless-commerceheadless-ecommercemarketplacemulti-tenantmulti-vendormulti-vendor-ecommerceopen-sourcespree-commerce
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.rbindex 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 changeif ActionText::RichText.column_defaults['locale'].nil?change_column_default :action_text_rich_texts, :locale, from: nil, to: :en