Sha256: 0eb46454619335d7f82535252ae0e0be414e60812e532a101dc74a48b06259f4

Contents?: true

Size: 240 Bytes

Versions: 7

Compression:

Stored size: 240 Bytes

Contents

# This migration comes from spree (originally 20100105090147)
class AddCostPrice < ActiveRecord::Migration
  def change
    add_column :variants, :cost_price, :decimal, :null => true, :default => nil, :precision => 8, :scale => 2
  end
end

Version data entries

7 entries across 7 versions & 2 rubygems

Version Path
spree_mercado_pago_payment_method-0.0.2 spec/dummy/db/migrate/20121121030158_add_cost_price.spree.rb
spree_mercado_pago_payment_method-0.1.1 spec/dummy/db/migrate/20121121030158_add_cost_price.spree.rb
spree_mercado_pago_payment_method-0.1.0 spec/dummy/db/migrate/20121121030158_add_cost_price.spree.rb
datashift_spree-0.3.0 spec/sandbox/db/migrate/20121023154377_add_cost_price.spree.rb
datashift_spree-0.2.1 spec/sandbox/db/migrate/20121015151170_add_cost_price.spree.rb
datashift_spree-0.2.0 spec/sandbox/db/migrate/20120925192738_add_cost_price.spree.rb
datashift_spree-0.1.0 spec/sandbox/db/migrate/20120918081469_add_cost_price.spree.rb