Sha256: c1d23f926a00eede9019b3617efb267de155a37182a6bff05f961a160df72f16
Contents?: true
Size: 204 Bytes
Versions: 2
Compression:
Stored size: 204 Bytes
Contents
class RemoveEcommerceStockField < ActiveRecord::Migration def change Cama::PostType.where(slug: 'commerce').each do |pt| pt.get_field_object('ecommerce_stock').try(:destroy) end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
camaleon_ecommerce-2.0.1 | db/migrate/20161214224919_remove_ecommerce_stock_field.rb |
camaleon_ecommerce-2.0.0 | db/migrate/20161214224919_remove_ecommerce_stock_field.rb |