Sha256: 42e0150ac0e465f35f9b7b3edec1682040e962343fe0353f3488560c6006b656

Contents?: true

Size: 359 Bytes

Versions: 14

Compression:

Stored size: 359 Bytes

Contents

# This migration comes from spree (originally 20121107003422)
class RemoveNotNullFromSpreePricesAmount < ActiveRecord::Migration
  def up
    change_column :spree_prices, :amount, :decimal, :precision => 8, :scale => 2, :null => true
  end

  def down
    change_column :spree_prices, :amount, :decimal, :precision => 8, :scale => 2, :null => false
  end
end

Version data entries

14 entries across 14 versions & 7 rubygems

Version Path
spree_weight_calculator-0.1.0 test/dummy/db/migrate/20160723192442_remove_not_null_from_spree_prices_amount.spree.rb
spree_order_reporting-0.0.3 spec/dummy/db/migrate/20160708163039_remove_not_null_from_spree_prices_amount.spree.rb
spree_order_reporting-0.0.2 spec/dummy/db/migrate/20160707103363_remove_not_null_from_spree_prices_amount.spree.rb
spree_order_reporting-0.0.1 spec/dummy/db/migrate/20160706112315_remove_not_null_from_spree_prices_amount.spree.rb
sprangular-0.1.0 spec/dummy/db/migrate/20140814105641_remove_not_null_from_spree_prices_amount.spree.rb
sprangular-0.0.1 spec/dummy/db/migrate/20140814105641_remove_not_null_from_spree_prices_amount.spree.rb
spree_mercado_pago-0.2.3 spec/dummy/db/migrate/20141204014634_remove_not_null_from_spree_prices_amount.spree.rb
spree_mercado_pago-0.2.2 spec/dummy/db/migrate/20141204014634_remove_not_null_from_spree_prices_amount.spree.rb
spree_mercado_pago-0.2.1 spec/dummy/db/migrate/20141112193417_remove_not_null_from_spree_prices_amount.spree.rb
spree_mercado_pago-0.2.0 spec/dummy/db/migrate/20141112193417_remove_not_null_from_spree_prices_amount.spree.rb
spree_mercado_pago_payment_method-0.2.0 spec/dummy/db/migrate/20141112193417_remove_not_null_from_spree_prices_amount.spree.rb
spree_bitpay-1.0.2 spec/dummy/db/migrate/20141002181214_remove_not_null_from_spree_prices_amount.spree.rb
bcms_spree-0.0.2 test/dummy/db/migrate/20140915222553_remove_not_null_from_spree_prices_amount.spree.rb
bcms_spree-0.0.1 test/dummy/db/migrate/20140915222553_remove_not_null_from_spree_prices_amount.spree.rb