Fixed rubocop failure for the add_two_factor_columns_migration

This commit is contained in:
Jose Ivan Vargas 2017-04-06 13:02:57 -05:00
parent 173384f8a6
commit 29cd3b0b3f
1 changed files with 1 additions and 1 deletions

View File

@ -16,6 +16,6 @@ class AddTwoFactorColumnsToNamespaces < ActiveRecord::Migration
remove_column(:namespaces, :require_two_factor_authentication)
remove_column(:namespaces, :two_factor_grace_period)
remove_index(:namespaces, :require_two_factor_authentication) if index_exists?(:namespaces, :require_two_factor_authentication)
remove_concurrent_index(:namespaces, :require_two_factor_authentication) if index_exists?(:namespaces, :require_two_factor_authentication)
end
end