Sha256: c86f5ef9ae63385372c6cf3e6930e31918ce12520b237e8773d8bca7021ea628

Contents?: true

Size: 193 Bytes

Versions: 10

Compression:

Stored size: 193 Bytes

Contents

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