Sha256: a418f584ef50233a9b194fd9f1c29ae0ea33f214cc43f9b8d13798c684d4d4cc

Contents?: true

Size: 224 Bytes

Versions: 10

Compression:

Stored size: 224 Bytes

Contents

class AddValidatesMethodAmountCentsToProducts < (Rails::VERSION::MAJOR >= 5 ? ActiveRecord::Migration[4.2] : ActiveRecord::Migration)
  def change
    add_column :products, :validates_method_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/20140110194016_add_validates_method_amount_cents_to_products.rb
money-rails-1.14.0 spec/dummy/db/migrate/20140110194016_add_validates_method_amount_cents_to_products.rb
money-rails-1.13.4 spec/dummy/db/migrate/20140110194016_add_validates_method_amount_cents_to_products.rb
money-rails-1.13.3 spec/dummy/db/migrate/20140110194016_add_validates_method_amount_cents_to_products.rb
money-rails-1.13.2 spec/dummy/db/migrate/20140110194016_add_validates_method_amount_cents_to_products.rb
money-rails-1.13.1 spec/dummy/db/migrate/20140110194016_add_validates_method_amount_cents_to_products.rb
money-rails-1.13.0 spec/dummy/db/migrate/20140110194016_add_validates_method_amount_cents_to_products.rb
money-rails-1.12.0 spec/dummy/db/migrate/20140110194016_add_validates_method_amount_cents_to_products.rb
money-rails-1.11.0 spec/dummy/db/migrate/20140110194016_add_validates_method_amount_cents_to_products.rb
money-rails-1.10.0 spec/dummy/db/migrate/20140110194016_add_validates_method_amount_cents_to_products.rb