Sha256: 3f92c21c938f6dc1814888c65c6f36c78fdd76c78471edbd243720925996d515
Contents?: true
Size: 208 Bytes
Versions: 3
Compression:
Stored size: 208 Bytes
Contents
class RemoveEcommerceStockField < CamaManager.migration_class def change Cama::PostType.where(slug: 'commerce').each do |pt| pt.get_field_object('ecommerce_stock').try(:destroy) end end end
Version data entries
3 entries across 3 versions & 1 rubygems