Sha256: c4c87f957c7321cf89c90c27beae63d5deb734e1a4bf83ecd256160159c76e74

Contents?: true

Size: 229 Bytes

Versions: 1

Compression:

Stored size: 229 Bytes

Contents

class RemovePrecisionScale < ActiveRecord::Migration[5.1]
  def up
    change_column :borutus_amounts, :amount, :decimal
  end

  def down
    change_column :borutus_amounts, :amount, :decimal, precision: 20, scale: 10
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
borutus-1.0.0 db/migrate/20201116065934_remove_precision_scale.rb