reevoo/sapience-rb

View on GitHub
test_apps/rails_4_2/db/migrate/20170203105901_create_products.rb

Summary

Maintainability
A
0 mins
Test Coverage
# frozen_string_literal: true
class CreateProducts < ActiveRecord::Migration
  def change
    create_table :products do |t|
      t.string :name
      t.string :sku
      t.string :ean

      t.timestamps null: false
    end
  end
end