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
Add filterable column to spree_option_types
Nathaniel Nandeb390110b8a6d
diff --git a/core/db/migrate/20201012091259_add_filterable_column_to_spree_option_types.rb b/core/db/migrate/20201012091259_add_filterable_column_to_spree_option_types.rbnew file mode 100644index 0000000000..264457338a--- /dev/null+++ b/core/db/migrate/20201012091259_add_filterable_column_to_spree_option_types.rb@@ -0,0 +1,6 @@+class AddFilterableColumnToSpreeOptionTypes < ActiveRecord::Migration[6.0]+ def change+ add_column :spree_option_types, :filterable, :boolean, default: true, null: false+ add_index :spree_option_types, :filterable+ end+end