Sha256: c35df348b44320724f3eef9a17e89bfd9a575dc2bff6f3050d3960667f8ea652

Contents?: true

Size: 194 Bytes

Versions: 1

Compression:

Stored size: 194 Bytes

Contents

class AddUnitPriceToOrderLineItems < ActiveRecord::Migration
  def change
    add_column :order_line_items, :unit_price, :decimal unless column_exists?(:order_line_items, :unit_price)
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
erp_orders-4.2.0 db/migrate/20150311160005_add_unit_price_to_order_line_items.rb