summaryrefslogtreecommitdiff
path: root/db/migrate/20130326142630_add_index_to_users_authentication_token.rb
blob: d42ef113738aad4a3bd4a9b4bf6d572b36199976 (plain)
1
2
3
4
5
class AddIndexToUsersAuthenticationToken < ActiveRecord::Migration
  def change
    add_index :users, :authentication_token, unique: true
  end
end