Sha256: 0c147308129251d0fdc0c158bb9e297b9c1259a95532b50ceb363e113afbb6c5

Contents?: true

Size: 279 Bytes

Versions: 11

Compression:

Stored size: 279 Bytes

Contents

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

11 entries across 11 versions & 1 rubygems

Version Path
solidus_core-1.4.2 db/migrate/20121107003422_remove_not_null_from_spree_prices_amount.rb
solidus_core-1.3.2 db/migrate/20121107003422_remove_not_null_from_spree_prices_amount.rb
solidus_core-1.4.1 db/migrate/20121107003422_remove_not_null_from_spree_prices_amount.rb
solidus_core-1.4.0 db/migrate/20121107003422_remove_not_null_from_spree_prices_amount.rb
solidus_core-1.4.0.rc1 db/migrate/20121107003422_remove_not_null_from_spree_prices_amount.rb
solidus_core-1.4.0.beta1 db/migrate/20121107003422_remove_not_null_from_spree_prices_amount.rb
solidus_core-1.3.1 db/migrate/20121107003422_remove_not_null_from_spree_prices_amount.rb
solidus_core-1.3.0 db/migrate/20121107003422_remove_not_null_from_spree_prices_amount.rb
solidus_core-1.3.0.rc2 db/migrate/20121107003422_remove_not_null_from_spree_prices_amount.rb
solidus_core-1.3.0.rc1 db/migrate/20121107003422_remove_not_null_from_spree_prices_amount.rb
solidus_core-1.3.0.beta1 db/migrate/20121107003422_remove_not_null_from_spree_prices_amount.rb