class StatisticsPrecision < ActiveRecord::Migration
  def change
    change_column :device_statistics, :value, :decimal, precision: 10, scale: 10
  end
end

class StatisticsPrecision < ActiveRecord::Migration
  def change
    remove_column :device_statistics, :value
    add_column :device_statistics, :value, :decimal, precision: 10, scale: 10
  end
end

Remove and re-add values column
Remove and re-add values column
