diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2023-10-20 18:18:12 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2023-10-20 18:18:12 +0300 |
commit | 3a3e4bcbd1512ff31a11b9747b19b60140f8834f (patch) | |
tree | 67d70eef61000d98ed9ac691458fe2d180d0175f /app/models | |
parent | 34c88d512f2697cd96dd3788e8ffaf1b9c8935b4 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/models')
-rw-r--r-- | app/models/deployment.rb | 3 |
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 |