Sha256: eaae1e2dd7b47e9fb300c45dd158883b834ce0c5573b32652d86142548a777e6

Contents?: true

Size: 283 Bytes

Versions: 2

Compression:

Stored size: 283 Bytes

Contents

class AddPriceToCartProducts < ActiveRecord::Migration[6.0]
  def change
  	add_column :rails_marketplace_cart_products, :price, :decimal, :precision => 8, :scale => 2
  	change_column :rails_marketplace_order_products, :price, :decimal, :precision => 8, :scale => 2
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
rails_marketplace-0.0.2 db/migrate/20161208012601_add_price_to_cart_products.rb
rails_marketplace-0.0.1 db/migrate/20161208012601_add_price_to_cart_products.rb