Sha256: ea1bae7df4bb13bdbee846814734d0515dcc179fe94807f9139a89a5175102d5

Contents?: true

Size: 336 Bytes

Versions: 7

Compression:

Stored size: 336 Bytes

Contents

# This migration comes from spree (originally 20120507232704)
class IncreaseScaleOfTaxRateAmount < ActiveRecord::Migration
  def up
    change_column :spree_tax_rates, :amount, :decimal, { :scale => 5, :precision => 8 }
  end

  def down
    change_column :spree_tax_rates, :amount, :decimal, { :scale => 4, :precision => 8 }
  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/20121121030235_increase_scale_of_tax_rate_amount.spree.rb
spree_mercado_pago_payment_method-0.1.1 spec/dummy/db/migrate/20121121030235_increase_scale_of_tax_rate_amount.spree.rb
spree_mercado_pago_payment_method-0.1.0 spec/dummy/db/migrate/20121121030235_increase_scale_of_tax_rate_amount.spree.rb
datashift_spree-0.3.0 spec/sandbox/db/migrate/20121023154454_increase_scale_of_tax_rate_amount.spree.rb
datashift_spree-0.2.1 spec/sandbox/db/migrate/20121015151247_increase_scale_of_tax_rate_amount.spree.rb
datashift_spree-0.2.0 spec/sandbox/db/migrate/20120925192815_increase_scale_of_tax_rate_amount.spree.rb
datashift_spree-0.1.0 spec/sandbox/db/migrate/20120918081546_increase_scale_of_tax_rate_amount.spree.rb