Commit e92dcc39 authored by Shinya Maeda's avatar Shinya Maeda

Added artifacts_metadata_store to remove in background migration

parent 91388399
......@@ -51,16 +51,17 @@ module Gitlab
# Clean columns of ci_builds
#
# Targets
# "artifacts_file", "artifacts_metadata", "artifacts_size", "artifacts_file_store"
# "artifacts_file", "artifacts_metadata", "artifacts_size", "artifacts_file_store", "artifacts_metadata_store"
# Ignore
# "artifacts_expire_at" ... This is widely used for showing expiration time of artifacts
MigrateLegacyArtifacts::Build
.legacy_artifacts
.where(id: (start_id..stop_id))
.update_all(artifacts_file: nil,
artifacts_metadata: nil,
artifacts_file_store: nil,
artifacts_size: nil,
artifacts_file_store: nil)
artifacts_metadata: nil,
artifacts_metadata_store: nil)
end
private
......
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