Sha256: 0baeb63f7925820e29a164fda68de8162373917786589a69c039f41c9d61e825

Contents?: true

Size: 478 Bytes

Versions: 9

Compression:

Stored size: 478 Bytes

Contents

# This migration comes from spree (originally 20140508151342)
class ChangeSpreePriceAmountPrecision < ActiveRecord::Migration[4.2]
  def change
    change_column :spree_prices, :amount,  :decimal, precision: 10, scale: 2
    change_column :spree_line_items, :price,  :decimal, precision: 10, scale: 2
    change_column :spree_line_items, :cost_price,  :decimal, precision: 10, scale: 2
    change_column :spree_variants, :cost_price, :decimal, precision: 10, scale: 2
  end
end

Version data entries

9 entries across 9 versions & 2 rubygems

Version Path
spree_purchase_order-3.7.0 spec/dummy/db/migrate/20191113195850_change_spree_price_amount_precision.spree.rb
spree_billing_sisow-0.9.2 spec/dummy/db/migrate/20190729091791_change_spree_price_amount_precision.spree.rb
spree_billing_sisow-0.9.1 spec/dummy/db/migrate/20190729091791_change_spree_price_amount_precision.spree.rb
spree_purchase_order-3.6.0 spec/dummy/db/migrate/20180516181979_change_spree_price_amount_precision.spree.rb
spree_purchase_order-3.5.0 spec/dummy/db/migrate/20180516181979_change_spree_price_amount_precision.spree.rb
spree_purchase_order-3.5.0.rc1 spec/dummy/db/migrate/20180516181979_change_spree_price_amount_precision.spree.rb
spree_purchase_order-3.4.0 spec/dummy/db/migrate/20180516181979_change_spree_price_amount_precision.spree.rb
spree_purchase_order-3.3.0 spec/dummy/db/migrate/20180516181979_change_spree_price_amount_precision.spree.rb
spree_purchase_order-3.2.0 spec/dummy/db/migrate/20180516181979_change_spree_price_amount_precision.spree.rb