Sha256: ee87b0fd72e90712629a2081fa94487fa0b639abff5fcb3ab51a5d65fa9ec6b9

Contents?: true

Size: 242 Bytes

Versions: 2

Compression:

Stored size: 242 Bytes

Contents

class AddCurrencyFormatToPrice < ActiveRecord::Migration[6.0]
  def change
  	change_column :rails_marketplace_products, :price, :decimal, :precision => 8, :scale => 2
  	remove_column :rails_marketplace_cart_products, :price
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
rails_marketplace-0.0.2 db/migrate/20161115013956_add_currency_format_to_price.rb
rails_marketplace-0.0.1 db/migrate/20161115013956_add_currency_format_to_price.rb