diff options
author | Stan Hu <stanhu@gmail.com> | 2017-04-06 22:24:49 +0300 |
---|---|---|
committer | Stan Hu <stanhu@gmail.com> | 2017-04-06 22:24:49 +0300 |
commit | 73cb71e41c0ade92b9673a5d74c7dd78679fae91 (patch) | |
tree | a0866cad39ace5ae20b524e65bd494486acdc933 /db | |
parent | bc3b0418b62f3f7460a4e46f1e43b07612e72f7d (diff) | |
parent | 29cd3b0b3f0f7956986a63421bb13e6bf654ee83 (diff) |
Merge branch 'rubocop-fix-migration-two-factor-columns' into 'master'
Fixed rubocop failure for the add_two_factor_columns_migration
See merge request !10505
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 |