Skip to content
代码片段 群组 项目
未验证 提交 4c8ed645 编辑于 作者: Pedro Pombeiro's avatar Pedro Pombeiro
浏览文件

Ignore runner_machine_id column in Ci::BuildMetadata

上级 15eace2c
No related branches found
No related tags found
无相关合并请求
...@@ -10,12 +10,15 @@ class BuildMetadata < Ci::ApplicationRecord ...@@ -10,12 +10,15 @@ class BuildMetadata < Ci::ApplicationRecord
include Presentable include Presentable
include ChronicDurationAttribute include ChronicDurationAttribute
include Gitlab::Utils::StrongMemoize include Gitlab::Utils::StrongMemoize
include IgnorableColumns
self.table_name = 'p_ci_builds_metadata' self.table_name = 'p_ci_builds_metadata'
self.primary_key = 'id' self.primary_key = 'id'
partitionable scope: :build partitionable scope: :build
ignore_column :runner_machine_id, remove_with: '16.0', remove_after: '2023-04-22'
belongs_to :build, class_name: 'CommitStatus' belongs_to :build, class_name: 'CommitStatus'
belongs_to :project belongs_to :project
......
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册