class AddQteToOffers < ActiveRecord::Migration def change add_column :offers, :qte, :decimal, precision: 10, scale: 2, :default => 1 end end