class CreateItems < ActiveRecord::Migration def change create_table :items do |t| t.string :name, index: true end end end