Commit 9a6633b3 authored by Douwe Maan's avatar Douwe Maan

Only run pull mirror related queries when `plans` table exists, which means...

Only run pull mirror related queries when `plans` table exists, which means we're running against EE
parent 579f0a5d
Pipeline #83082 passed with stage
in 2 minutes and 16 seconds
......@@ -22,7 +22,7 @@ module GitLab
INNER JOIN namespaces ON projects.namespace_id = namespaces.id
LEFT JOIN plans ON namespaces.plan_id = plans.id
SQL
check: "SELECT 1 FROM information_schema.tables WHERE table_name='project_mirror_data'"
check: "SELECT 1 FROM information_schema.tables WHERE table_name='plans'"
}.freeze
QUERIES = {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment