class ChangePointAmountsToFloats < ActiveRecord::Migration
  def change
    change_column :scorecard_points, :amount, :decimal, null: false,
      precision: 10
  end
end

class ChangePointAmountsToFloats < ActiveRecord::Migration
  def up
    change_column :scorecard_points, :amount, :decimal, null: false,
      precision: 10, scale: 6
  end

  def down
    change_column :scorecard_points, :amount, :integer
  end
end

Scale matters, and we don't want a default of zero.
Scale matters, and we don't want a default of zero.
