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:
authorGitLab Bot <gitlab-bot@gitlab.com>2023-10-20 18:18:12 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2023-10-20 18:18:12 +0300
commit3a3e4bcbd1512ff31a11b9747b19b60140f8834f (patch)
tree67d70eef61000d98ed9ac691458fe2d180d0175f /app/models
parent34c88d512f2697cd96dd3788e8ffaf1b9c8935b4 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/models')
-rw-r--r--app/models/deployment.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/app/models/deployment.rb b/app/models/deployment.rb
index 0bdce18bab5..ae970ca9e6b 100644
--- a/app/models/deployment.rb
+++ b/app/models/deployment.rb
@@ -8,12 +8,15 @@ class Deployment < ApplicationRecord
include Importable
include Gitlab::Utils::StrongMemoize
include FastDestroyAll
+ include IgnorableColumns
StatusUpdateError = Class.new(StandardError)
StatusSyncError = Class.new(StandardError)
ARCHIVABLE_OFFSET = 50_000
+ ignore_column :cluster_id, remove_with: '16.8', remove_after: '2023-12-22'
+
belongs_to :project, optional: false
belongs_to :environment, optional: false
belongs_to :user