Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'lib/gitlab/background_migration/project_namespaces/backfill_project_namespaces.rb')
-rw-r--r--lib/gitlab/background_migration/project_namespaces/backfill_project_namespaces.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab/background_migration/project_namespaces/backfill_project_namespaces.rb b/lib/gitlab/background_migration/project_namespaces/backfill_project_namespaces.rb
index 845a3c16bbe..e21d7951f59 100644
--- a/lib/gitlab/background_migration/project_namespaces/backfill_project_namespaces.rb
+++ b/lib/gitlab/background_migration/project_namespaces/backfill_project_namespaces.rb
@@ -90,7 +90,7 @@ module Gitlab
.select("namespaces.id, namespaces.tmp_project_id")
ApplicationRecord.connection.execute <<~SQL
- WITH cte(project_namespace_id, project_id) AS #{::Gitlab::Database::AsWithMaterialized.materialized_if_supported} (
+ WITH cte(project_namespace_id, project_id) AS MATERIALIZED (
#{projects.to_sql}
)
UPDATE projects