Sha256: 893916209c6a45dd8bca46e1d1d04a78146e117f3a7278f19199082667c9540b

Contents?: true

Size: 186 Bytes

Versions: 9

Compression:

Stored size: 186 Bytes

Contents

class CreateProducts < ActiveRecord::Migration
  def change
    create_table :products do |t|
      t.string :name
      t.float :price

      t.timestamps null: false
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
better_frame-0.3.3 test/dummy/db/migrate/20160714124731_create_products.rb
better_frame-0.3.2 test/dummy/db/migrate/20160714124731_create_products.rb
better_frame-0.3.1 test/dummy/db/migrate/20160714124731_create_products.rb
better_frame-0.3.0 test/dummy/db/migrate/20160714124731_create_products.rb
better_frame-0.2.0 test/dummy/db/migrate/20160714124731_create_products.rb
better_frame-0.1.2 test/dummy/db/migrate/20160714124731_create_products.rb
better_frame-0.1.1 test/dummy/db/migrate/20160714124731_create_products.rb
better_frame-0.1.0 test/dummy/db/migrate/20160714124731_create_products.rb
better_frame-0.0.5 test/dummy/db/migrate/20160714124731_create_products.rb