Sha256: 693a954a14eef94aee92244fd72ec4fd68070f34d3bffa3484b20a5ee5a5d7f8

Contents?: true

Size: 187 Bytes

Versions: 29

Compression:

Stored size: 187 Bytes

Contents

class CreateProducts < ActiveRecord::Migration
  def change
    create_table :products do |t|
      t.integer :price_cents
      t.integer :discount

      t.timestamps
    end
  end
end

Version data entries

29 entries across 29 versions & 2 rubygems

Version Path
money-rails-1.9.0 spec/dummy/db/migrate/20120331190108_create_products.rb
money-rails-1.8.0 spec/dummy/db/migrate/20120331190108_create_products.rb
money-rails-1.7.0 spec/dummy/db/migrate/20120331190108_create_products.rb
money-rails-1.6.2 spec/dummy/db/migrate/20120331190108_create_products.rb
money-rails-1.6.1 spec/dummy/db/migrate/20120331190108_create_products.rb
money-rails-1.6.0 spec/dummy/db/migrate/20120331190108_create_products.rb
money-rails-1.5.0 spec/dummy/db/migrate/20120331190108_create_products.rb
money-rails-1.4.1 spec/dummy/db/migrate/20120331190108_create_products.rb
money-rails-1.4.0 spec/dummy/db/migrate/20120331190108_create_products.rb
money-rails-1.3.0 spec/dummy/db/migrate/20120331190108_create_products.rb
money-rails-1.2.0 spec/dummy/db/migrate/20120331190108_create_products.rb
money-rails-1.1.0 spec/dummy/db/migrate/20120331190108_create_products.rb
money-rails-1.0.0 spec/dummy/db/migrate/20120331190108_create_products.rb
money-rails-0.12.0 spec/dummy/db/migrate/20120331190108_create_products.rb
money-rails-0.11.0 spec/dummy/db/migrate/20120331190108_create_products.rb
money-rails-0.10.0 spec/dummy/db/migrate/20120331190108_create_products.rb
money-rails-0.9.0 spec/dummy/db/migrate/20120331190108_create_products.rb
money-rails-0.8.1 spec/dummy/db/migrate/20120331190108_create_products.rb
money-rails-0.7.1 spec/dummy/db/migrate/20120331190108_create_products.rb
money-rails-0.7.0 spec/dummy/db/migrate/20120331190108_create_products.rb