summaryrefslogtreecommitdiff
path: root/db/migrate/20111101155952_add_index_to_phone_book_entry.rb
blob: 1627e0f7d8166eb7f7383074511eb53c282c72ca (plain)
1
2
3
4
5
6
7
8
9
10
class AddIndexToPhoneBookEntry < ActiveRecord::Migration
  def change
    add_index :phone_book_entries, :first_name
    add_index :phone_book_entries, :last_name
    add_index :phone_book_entries, :organization
    add_index :phone_book_entries, :first_name_phonetic
    add_index :phone_book_entries, :last_name_phonetic
    add_index :phone_book_entries, :organization_phonetic
  end
end