diff options
author | Lin Jen-Shin <godfat@godfat.org> | 2018-07-25 08:59:23 +0000 |
---|---|---|
committer | Lin Jen-Shin <godfat@godfat.org> | 2018-07-25 17:47:12 +0800 |
commit | b95da565cd91fff0729fb4bf6632fb6224de8843 (patch) | |
tree | bc2fb2fe99f42b2aae6ff9ed6557366c7959d7b4 /db/migrate/20180418053107_add_index_to_ci_job_artifacts_file_store.rb | |
parent | 068768e1f8b64f7de4fe18b094e7f2e7555c9398 (diff) | |
download | gitlab-ce-b95da565cd91fff0729fb4bf6632fb6224de8843.tar.gz |
Enable rubocop for db/**/* and ee/db/**/*49582-enable-cops-for-db
Diffstat (limited to 'db/migrate/20180418053107_add_index_to_ci_job_artifacts_file_store.rb')
-rw-r--r-- | db/migrate/20180418053107_add_index_to_ci_job_artifacts_file_store.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/db/migrate/20180418053107_add_index_to_ci_job_artifacts_file_store.rb b/db/migrate/20180418053107_add_index_to_ci_job_artifacts_file_store.rb index 1084ca14a34..ac91624c3d5 100644 --- a/db/migrate/20180418053107_add_index_to_ci_job_artifacts_file_store.rb +++ b/db/migrate/20180418053107_add_index_to_ci_job_artifacts_file_store.rb @@ -10,6 +10,7 @@ class AddIndexToCiJobArtifactsFileStore < ActiveRecord::Migration end def down + # rubocop:disable Migration/RemoveIndex remove_index :ci_job_artifacts, :file_store if index_exists?(:ci_job_artifacts, :file_store) end end |