summaryrefslogtreecommitdiff
path: root/db
diff options
context:
space:
mode:
authorLin Jen-Shin <godfat@godfat.org>2017-04-06 23:47:37 +0800
committerLin Jen-Shin <godfat@godfat.org>2017-04-06 23:47:37 +0800
commit503f8822758fd6deb93e448bf37e1e3e70422e29 (patch)
treef99701c3892d10a1f87bf204a7007f84aaa312a6 /db
parent1ac44911b355ac18d279b7fff4c7db821689d9c7 (diff)
downloadgitlab-ce-503f8822758fd6deb93e448bf37e1e3e70422e29.tar.gz
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