Sha256: 8e042872e45f302589e789b20abf9cee5170fcb2b28aa844a94f46545504ea22

Contents?: true

Size: 241 Bytes

Versions: 5

Compression:

Stored size: 241 Bytes

Contents

# frozen_string_literal: true

class CreateProducts < ActiveRecord::Migration[5.2]
  def change
    create_table :products do |t|
      t.string(:name)
      t.text(:description)
      t.integer(:price)

      t.timestamps
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
tainted_love-0.4.1 tests/rails/db/migrate/20190311220346_create_products.rb
tainted_love-0.4.0 tests/rails/db/migrate/20190311220346_create_products.rb
tainted_love-0.1.5 example/db/migrate/20190311220346_create_products.rb
tainted_love-0.1.4 example/db/migrate/20190311220346_create_products.rb
tainted_love-0.1.3 example/db/migrate/20190311220346_create_products.rb