diff options
author | Matija Čupić <matteeyah@gmail.com> | 2018-09-28 00:41:24 +0200 |
---|---|---|
committer | Matija Čupić <matteeyah@gmail.com> | 2018-09-28 01:40:40 +0200 |
commit | 3e309ea70dd3c91a618a0b59b386244d44ec594a (patch) | |
tree | 1388427a0fb8a3d7a4115ce907e788565542d350 /lib | |
parent | 4de93b6a3e4eabd3eae9eb23910c6acd62649cfa (diff) | |
download | gitlab-ce-3e309ea70dd3c91a618a0b59b386244d44ec594a.tar.gz |
Refactor migration specs using ActiveRecord models
Diffstat (limited to 'lib')
-rw-r--r-- | lib/gitlab/background_migration/populate_external_pipeline_source.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab/background_migration/populate_external_pipeline_source.rb b/lib/gitlab/background_migration/populate_external_pipeline_source.rb index 98eb7f0b897..036fe641757 100644 --- a/lib/gitlab/background_migration/populate_external_pipeline_source.rb +++ b/lib/gitlab/background_migration/populate_external_pipeline_source.rb @@ -42,7 +42,7 @@ module Gitlab .where( 'EXISTS (?) AND NOT EXISTS (?)', Migratable::CommitStatus.of_type('GenericCommitStatus').has_pipeline.select(1), - Migratable::CommitStatus.of_type('Ci::Build').has_pipeline.select(1), + Migratable::CommitStatus.of_type('Ci::Build').has_pipeline.select(1) ) end end |