diff options
author | Jose Ivan Vargas <jvargas@gitlab.com> | 2017-04-06 21:02:57 +0300 |
---|---|---|
committer | Jose Ivan Vargas <jvargas@gitlab.com> | 2017-04-06 21:08:13 +0300 |
commit | 29cd3b0b3f0f7956986a63421bb13e6bf654ee83 (patch) | |
tree | c95c732f1822a7cd3662fc719bee8e3db494b6df /db | |
parent | 173384f8a6025879e7d77009535899ab7b3889cd (diff) |
Fixed rubocop failure for the add_two_factor_columns_migration
Diffstat (limited to 'db')
-rw-r--r-- | db/migrate/20170124193147_add_two_factor_columns_to_namespaces.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/db/migrate/20170124193147_add_two_factor_columns_to_namespaces.rb b/db/migrate/20170124193147_add_two_factor_columns_to_namespaces.rb index ca4429c676c..df5cddeb205 100644 --- a/db/migrate/20170124193147_add_two_factor_columns_to_namespaces.rb +++ b/db/migrate/20170124193147_add_two_factor_columns_to_namespaces.rb @@ -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 |