Add partition_id to Ci::PipelineConfig
This MR cascades partition_id from pipeline to Ci::PipelineConfig. We need to add this new column in order to redefine the FK association between ci_pipeline_artifacts and ci_pipelines. Changelog: added
显示
- app/models/ci/pipeline_config.rb 4 个添加, 0 个删除app/models/ci/pipeline_config.rb
- app/models/concerns/ci/partitionable/testing.rb 1 个添加, 0 个删除app/models/concerns/ci/partitionable/testing.rb
- db/docs/batched_background_migrations/backfill_partition_id_ci_pipeline_config.yml 9 个添加, 0 个删除...d_migrations/backfill_partition_id_ci_pipeline_config.yml
- db/migrate/20240109145839_add_partition_id_to_pipeline_config.rb 10 个添加, 0 个删除...ate/20240109145839_add_partition_id_to_pipeline_config.rb
- db/post_migrate/20240110090352_queue_backfill_partition_id_ci_pipeline_config.rb 26 个添加, 0 个删除...0090352_queue_backfill_partition_id_ci_pipeline_config.rb
- db/schema_migrations/20240109145839 1 个添加, 0 个删除db/schema_migrations/20240109145839
- db/schema_migrations/20240110090352 1 个添加, 0 个删除db/schema_migrations/20240110090352
- db/structure.sql 2 个添加, 1 个删除db/structure.sql
- lib/gitlab/background_migration/backfill_partition_id_ci_pipeline_config.rb 37 个添加, 0 个删除...und_migration/backfill_partition_id_ci_pipeline_config.rb
- spec/db/schema_spec.rb 1 个添加, 0 个删除spec/db/schema_spec.rb
- spec/factories/ci/pipeline_config.rb 8 个添加, 0 个删除spec/factories/ci/pipeline_config.rb
- spec/lib/gitlab/background_migration/backfill_partition_id_ci_pipeline_config_spec.rb 73 个添加, 0 个删除...igration/backfill_partition_id_ci_pipeline_config_spec.rb
- spec/migrations/20240110090352_queue_backfill_partition_id_ci_pipeline_config_spec.rb 56 个添加, 0 个删除...52_queue_backfill_partition_id_ci_pipeline_config_spec.rb
- spec/models/ci/pipeline_config_spec.rb 16 个添加, 1 个删除spec/models/ci/pipeline_config_spec.rb
加载中
想要评论请 注册 或 登录