dummy/db/migrate/20140404165910_create_professions.voluntary_engine.rb
# This migration comes from voluntary_engine (originally 20121004132105)
class CreateProfessions < ActiveRecord::Migration
def change
create_table :professions do |t|
t.string :name
t.string :slug
t.timestamps
end
remove_column :users, :profession, :string
add_column :users, :profession_id, :integer
add_index :users, :profession_id
end
end