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
diff options
context:
space:
mode:
authorLin Jen-Shin <godfat@godfat.org>2018-07-25 11:59:23 +0300
committerLin Jen-Shin <godfat@godfat.org>2018-07-25 12:47:12 +0300
commitb95da565cd91fff0729fb4bf6632fb6224de8843 (patch)
treebc2fb2fe99f42b2aae6ff9ed6557366c7959d7b4 /db/migrate/20180503150427_add_index_to_namespaces_runners_token.rb
parent068768e1f8b64f7de4fe18b094e7f2e7555c9398 (diff)
Enable rubocop for db/**/* and ee/db/**/*
Diffstat (limited to 'db/migrate/20180503150427_add_index_to_namespaces_runners_token.rb')
-rw-r--r--db/migrate/20180503150427_add_index_to_namespaces_runners_token.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/db/migrate/20180503150427_add_index_to_namespaces_runners_token.rb b/db/migrate/20180503150427_add_index_to_namespaces_runners_token.rb
index 4c4e576d49f..9e55690bd33 100644
--- a/db/migrate/20180503150427_add_index_to_namespaces_runners_token.rb
+++ b/db/migrate/20180503150427_add_index_to_namespaces_runners_token.rb
@@ -14,6 +14,7 @@ class AddIndexToNamespacesRunnersToken < ActiveRecord::Migration
def down
if index_exists?(:namespaces, :runners_token, unique: true)
+ # rubocop:disable Migration/RemoveIndex
remove_index :namespaces, :runners_token
end
end