Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/db
diff options
context:
space:
mode:
authorLin Jen-Shin <godfat@godfat.org>2017-04-06 18:47:37 +0300
committerLin Jen-Shin <godfat@godfat.org>2017-04-06 18:47:37 +0300
commit503f8822758fd6deb93e448bf37e1e3e70422e29 (patch)
treef99701c3892d10a1f87bf204a7007f84aaa312a6 /db
parent1ac44911b355ac18d279b7fff4c7db821689d9c7 (diff)
Fix rubocop offenses
Diffstat (limited to 'db')
-rw-r--r--db/migrate/20170402231018_remove_index_for_users_current_sign_in_at.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/db/migrate/20170402231018_remove_index_for_users_current_sign_in_at.rb b/db/migrate/20170402231018_remove_index_for_users_current_sign_in_at.rb
index 8316ee9eb9f..6013598b835 100644
--- a/db/migrate/20170402231018_remove_index_for_users_current_sign_in_at.rb
+++ b/db/migrate/20170402231018_remove_index_for_users_current_sign_in_at.rb
@@ -14,7 +14,7 @@ class RemoveIndexForUsersCurrentSignInAt < ActiveRecord::Migration
if Gitlab::Database.postgresql?
execute 'DROP INDEX CONCURRENTLY index_users_on_current_sign_in_at;'
else
- remove_index :users, :current_sign_in_at
+ remove_concurrent_index :users, :current_sign_in_at
end
end
end