Welcome to mirror list, hosted at ThFree Co, Russian Federation.

20130326142630_add_index_to_users_authentication_token.rb « migrate « db - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
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