diff options
author | Lin Jen-Shin <godfat@godfat.org> | 2017-04-06 23:47:37 +0800 |
---|---|---|
committer | Lin Jen-Shin <godfat@godfat.org> | 2017-04-06 23:47:37 +0800 |
commit | 503f8822758fd6deb93e448bf37e1e3e70422e29 (patch) | |
tree | f99701c3892d10a1f87bf204a7007f84aaa312a6 /db | |
parent | 1ac44911b355ac18d279b7fff4c7db821689d9c7 (diff) | |
download | gitlab-ce-503f8822758fd6deb93e448bf37e1e3e70422e29.tar.gz |
Fix rubocop offenses8998_skip_pending_commits_if_not_head
Diffstat (limited to 'db')
-rw-r--r-- | db/migrate/20170402231018_remove_index_for_users_current_sign_in_at.rb | 2 |
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 |