Sha256: 7ee3f354eb6cccfb7f216b9eb42e0f3e4500809b50c05d509fa5607163642731

Contents?: true

Size: 433 Bytes

Versions: 5

Compression:

Stored size: 433 Bytes

Contents

class ChangeAuctionReservePriceColumnToBigDecimal < ActiveRecord::Migration[5.1]
  def change
    change_column :spree_auctions, :reserve_price, :decimal, precision: 12, scale: 2
    change_column :spree_auctions, :current_price, :decimal, precision: 12, scale: 2
    change_column :spree_auctions, :bid_increment, :decimal, precision: 12, scale: 2
    change_column :spree_bids, :amount, :decimal, precision: 12, scale: 2
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
solidus_auction-0.0.6 db/migrate/20180320010358_change_auction_reserve_price_column_to_big_decimal.rb
solidus_auction-0.0.5 db/migrate/20180320010358_change_auction_reserve_price_column_to_big_decimal.rb
solidus_auction-0.0.4 db/migrate/20180320010358_change_auction_reserve_price_column_to_big_decimal.rb
solidus_auction-0.0.3 db/migrate/20180320010358_change_auction_reserve_price_column_to_big_decimal.rb
solidus_auction-0.0.1 db/migrate/20180320010358_change_auction_reserve_price_column_to_big_decimal.rb