Sha256: 17e705266906307a92da8d6fceb0044e5b97144e1f6299f5b58fe78df0c1a521

Contents?: true

Size: 400 Bytes

Versions: 7

Compression:

Stored size: 400 Bytes

Contents

# This migration comes from spree (originally 20120523061241)
class ConvertSalesTaxToDefaultTax < ActiveRecord::Migration
  def up
    execute "UPDATE spree_calculators SET type='Spree::Calculator::DefaultTax' WHERE type='Spree::Calculator::SalesTax'"
  end

  def down
    execute "UPDATE spree_calculators SET type='Spree::Calculator::SalesTax' WHERE type='Spree::Calculator::DefaultTax'"
 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/20121121030237_convert_sales_tax_to_default_tax.spree.rb
spree_mercado_pago_payment_method-0.1.1 spec/dummy/db/migrate/20121121030237_convert_sales_tax_to_default_tax.spree.rb
spree_mercado_pago_payment_method-0.1.0 spec/dummy/db/migrate/20121121030237_convert_sales_tax_to_default_tax.spree.rb
datashift_spree-0.3.0 spec/sandbox/db/migrate/20121023154455_convert_sales_tax_to_default_tax.spree.rb
datashift_spree-0.2.1 spec/sandbox/db/migrate/20121015151248_convert_sales_tax_to_default_tax.spree.rb
datashift_spree-0.2.0 spec/sandbox/db/migrate/20120925192816_convert_sales_tax_to_default_tax.spree.rb
datashift_spree-0.1.0 spec/sandbox/db/migrate/20120918081547_convert_sales_tax_to_default_tax.spree.rb