Sha256: 3ae6c55f04652e00cba0191e480802895b3ca107fedfc6b31973a0e9c03863d7

Contents?: true

Size: 274 Bytes

Versions: 14

Compression:

Stored size: 274 Bytes

Contents

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

14 entries across 14 versions & 1 rubygems

Version Path
spree_core-1.2.5 db/migrate/20120507232704_increase_scale_of_tax_rate_amount.rb
spree_core-1.1.6 db/migrate/20120507232704_increase_scale_of_tax_rate_amount.rb
spree_core-1.1.5 db/migrate/20120507232704_increase_scale_of_tax_rate_amount.rb
spree_core-1.2.4 db/migrate/20120507232704_increase_scale_of_tax_rate_amount.rb
spree_core-1.2.3 db/migrate/20120507232704_increase_scale_of_tax_rate_amount.rb
spree_core-1.2.2 db/migrate/20120507232704_increase_scale_of_tax_rate_amount.rb
spree_core-1.1.4 db/migrate/20120507232704_increase_scale_of_tax_rate_amount.rb
spree_core-1.2.0 db/migrate/20120507232704_increase_scale_of_tax_rate_amount.rb
spree_core-1.2.0.rc2 db/migrate/20120507232704_increase_scale_of_tax_rate_amount.rb
spree_core-1.2.0.rc1 db/migrate/20120507232704_increase_scale_of_tax_rate_amount.rb
spree_core-1.1.3 db/migrate/20120507232704_increase_scale_of_tax_rate_amount.rb
spree_core-1.1.2 db/migrate/20120507232704_increase_scale_of_tax_rate_amount.rb
spree_core-1.1.2.rc1 db/migrate/20120507232704_increase_scale_of_tax_rate_amount.rb
spree_core-1.1.1 db/migrate/20120507232704_increase_scale_of_tax_rate_amount.rb