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: d42ef113738aad4a3bd4a9b4bf6d572b36199976 (plain)
1
2
3
4
5
class AddIndexToUsersAuthenticationToken < ActiveRecord::Migration
  def change
    add_index :users, :authentication_token, unique: true
  end
end