Update the application to use the partitioned table p_ci_pipelines
-
To change the
table_nameforCi::Pipeline, use a change management issue -
NOTE that we will need to update the enum
Enums::InternalId.usage_resources:module Enums module InternalId def self.usage_resources { # from: ci_pipelines: 5, p_ci_pipelines: 5, } end end end -
And define the
internal_id_scope_usageas:p_ci_pipelinesas well:module Ci class Pipeline < Ci::ApplicationRecord def self.internal_id_scope_usage; :p_ci_pipelines; end end end
Edited by Tianwen Chen