summaryrefslogtreecommitdiff
path: root/db
diff options
context:
space:
mode:
authorJose Ivan Vargas <jvargas@gitlab.com>2017-04-06 13:02:57 -0500
committerJose Ivan Vargas <jvargas@gitlab.com>2017-04-06 13:08:13 -0500
commit29cd3b0b3f0f7956986a63421bb13e6bf654ee83 (patch)
treec95c732f1822a7cd3662fc719bee8e3db494b6df /db
parent173384f8a6025879e7d77009535899ab7b3889cd (diff)
downloadgitlab-ce-29cd3b0b3f0f7956986a63421bb13e6bf654ee83.tar.gz
Fixed rubocop failure for the add_two_factor_columns_migrationrubocop-fix-migration-two-factor-columns
Diffstat (limited to 'db')
-rw-r--r--db/migrate/20170124193147_add_two_factor_columns_to_namespaces.rb2
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