diff --git a/lib/generators/devise_token_auth/templates/devise_token_auth_create_users.rb.erb b/lib/generators/devise_token_auth/templates/devise_token_auth_create_users.rb.erb index c773a2ce7..b1aec3236 100644 --- a/lib/generators/devise_token_auth/templates/devise_token_auth_create_users.rb.erb +++ b/lib/generators/devise_token_auth/templates/devise_token_auth_create_users.rb.erb @@ -48,7 +48,7 @@ class DeviseTokenAuthCreate<%= user_class.pluralize %> < ActiveRecord::Migration add_index :<%= user_class.pluralize.underscore %>, :email, unique: true add_index :<%= user_class.pluralize.underscore %>, [:uid, :provider], unique: true add_index :<%= user_class.pluralize.underscore %>, :reset_password_token, unique: true - # add_index :<%= user_class.pluralize.underscore %>, :confirmation_token, unique: true + add_index :<%= user_class.pluralize.underscore %>, :confirmation_token, unique: true # add_index :<%= user_class.pluralize.underscore %>, :unlock_token, unique: true end end