Sha256: e5151e94f87b07df7a12cc4dfb947e2969dd8d86856be844bb0729d7ebb11421

Contents?: true

Size: 163 Bytes

Versions: 7

Compression:

Stored size: 163 Bytes

Contents

class AddHairColorToPerson < ActiveRecord::Migration
  def change
    add_column :people, :hair_color_id, :integer
    add_index :people, :hair_color_id
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
config_scripts-0.4.7 spec/dummy/db/migrate/20140208182101_add_hair_color_to_person.rb
config_scripts-0.4.6 spec/dummy/db/migrate/20140208182101_add_hair_color_to_person.rb
config_scripts-0.4.5 spec/dummy/db/migrate/20140208182101_add_hair_color_to_person.rb
config_scripts-0.4.4 spec/dummy/db/migrate/20140208182101_add_hair_color_to_person.rb
config_scripts-0.4.3 spec/dummy/db/migrate/20140208182101_add_hair_color_to_person.rb
config_scripts-0.4.2 spec/dummy/db/migrate/20140208182101_add_hair_color_to_person.rb
config_scripts-0.4.1 spec/dummy/db/migrate/20140208182101_add_hair_color_to_person.rb