mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-07 22:46:06 +00:00
Disable variant is_master column
(cherry picked from commit 733dd3c428)
This commit is contained in:
@@ -13,6 +13,8 @@ module Spree
|
||||
|
||||
acts_as_paranoid
|
||||
|
||||
self.ignored_columns = [:is_master]
|
||||
|
||||
searchable_attributes :sku, :display_as, :display_name
|
||||
searchable_associations :product, :default_price
|
||||
searchable_scopes :active, :deleted
|
||||
|
||||
Reference in New Issue
Block a user