Skip to content
Snippets Groups Projects
Commit 501fed21 authored by John Northrup's avatar John Northrup
Browse files

Merge branch 'update-to-new-ci-schema' into 'master'

Update to new CI schema: gl_project_id => project_id

See merge request !43
parents 9dfe92f0 1bd40052
No related branches found
No related tags found
1 merge request!43Update to new CI schema: gl_project_id => project_id
Pipeline #
Loading
Loading
@@ -11,7 +11,7 @@ module GitLab
" COUNT(*) AS count " \
" FROM ci_builds " \
" JOIN projects " \
" ON projects.id = ci_builds.gl_project_id " \
" ON projects.id = ci_builds.project_id " \
" WHERE ci_builds.type = 'Ci::Build' " \
" AND ci_builds.status IN ('created', 'pending') " \
" GROUP BY " \
Loading
Loading
@@ -39,7 +39,7 @@ module GitLab
" JOIN ci_runners " \
" ON ci_runners.id = ci_builds.runner_id " \
" JOIN projects " \
" ON projects.id = ci_builds.gl_project_id " \
" ON projects.id = ci_builds.project_id " \
" WHERE ci_builds.type = 'Ci::Build' " \
" AND ci_builds.status = 'running' " \
" GROUP BY " \
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment