diff options
| author | Rémy Coutable <remy@rymai.me> | 2019-01-16 13:09:29 +0100 |
|---|---|---|
| committer | Rémy Coutable <remy@rymai.me> | 2019-01-24 13:05:45 +0100 |
| commit | 3a2abc1d50b419a353edb7f7cf68f3894dfdeeef (patch) | |
| tree | 98fc575139997113d9074dde16a9689cb2ab8e31 /db/migrate | |
| parent | 16ab0050f6f1544eb717da34975f12861df37c9c (diff) | |
| download | gitlab-ce-3a2abc1d50b419a353edb7f7cf68f3894dfdeeef.tar.gz | |
Enable the Layout/ExtraSpacing cop56392-enable-the-layout-extraspacing-cop
Signed-off-by: Rémy Coutable <remy@rymai.me>
Diffstat (limited to 'db/migrate')
| -rw-r--r-- | db/migrate/20170927095921_add_ci_builds_index_for_jobscontroller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/db/migrate/20170927095921_add_ci_builds_index_for_jobscontroller.rb b/db/migrate/20170927095921_add_ci_builds_index_for_jobscontroller.rb index 85aa78006db..3ee9c959fca 100644 --- a/db/migrate/20170927095921_add_ci_builds_index_for_jobscontroller.rb +++ b/db/migrate/20170927095921_add_ci_builds_index_for_jobscontroller.rb @@ -28,7 +28,7 @@ class AddCiBuildsIndexForJobscontroller < ActiveRecord::Migration[4.2] disable_ddl_transaction! def up - add_concurrent_index :ci_builds, [:project_id, :id] unless index_exists? :ci_builds, [:project_id, :id] + add_concurrent_index :ci_builds, [:project_id, :id] unless index_exists? :ci_builds, [:project_id, :id] remove_concurrent_index :ci_builds, :project_id if index_exists? :ci_builds, :project_id end |
