class CreateGitIdentities < ActiveRecord::Migration
  def change
    create_table :git_identities do |t|
      t.text :name, null: false
      t.text :email, null: false
      t.references :coder, index: true

      t.timestamps
    end
    add_index :git_identities, [:name, :email], unique: true
  end
end

class CreateGitIdentities < ActiveRecord::Migration
  def change
    create_table :git_identities do |t|
      t.string :name, null: false
      t.string :email, null: false
      t.references :coder, index: true

      t.timestamps
    end
    add_index :git_identities, [:name, :email], unique: true
  end
end

Use strings for the git identities
Use strings for the git identities
