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