Sha256: 721609d2dab4e2a1a5e533865127e63d114d541aec9903b9b7d8d989d0a1c9b4

Contents?: true

Size: 212 Bytes

Versions: 10

Compression:

Stored size: 212 Bytes

Contents

class AddOptionalAmountToTransactions < (Rails::VERSION::MAJOR >= 5 ? ActiveRecord::Migration[4.2] : ActiveRecord::Migration)
  def change
    add_column :transactions, :optional_amount_cents, :integer
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
money-rails-1.15.0 spec/dummy/db/migrate/20151026220420_add_optional_amount_to_transactions.rb
money-rails-1.14.0 spec/dummy/db/migrate/20151026220420_add_optional_amount_to_transactions.rb
money-rails-1.13.4 spec/dummy/db/migrate/20151026220420_add_optional_amount_to_transactions.rb
money-rails-1.13.3 spec/dummy/db/migrate/20151026220420_add_optional_amount_to_transactions.rb
money-rails-1.13.2 spec/dummy/db/migrate/20151026220420_add_optional_amount_to_transactions.rb
money-rails-1.13.1 spec/dummy/db/migrate/20151026220420_add_optional_amount_to_transactions.rb
money-rails-1.13.0 spec/dummy/db/migrate/20151026220420_add_optional_amount_to_transactions.rb
money-rails-1.12.0 spec/dummy/db/migrate/20151026220420_add_optional_amount_to_transactions.rb
money-rails-1.11.0 spec/dummy/db/migrate/20151026220420_add_optional_amount_to_transactions.rb
money-rails-1.10.0 spec/dummy/db/migrate/20151026220420_add_optional_amount_to_transactions.rb