diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-05-09 15:08:55 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-05-09 15:08:55 +0300 |
commit | e4b9c52cc9ca9478d9881d03f31517be46376060 (patch) | |
tree | 258f66aa434475743b0355762df5e65c1563a770 /app/models/namespace.rb | |
parent | ba689154ab9781ee7924be1b9e3ddd553ce84056 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/models/namespace.rb')
-rw-r--r-- | app/models/namespace.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/models/namespace.rb b/app/models/namespace.rb index e8b6cf00d17..de196964d31 100644 --- a/app/models/namespace.rb +++ b/app/models/namespace.rb @@ -44,6 +44,7 @@ class Namespace < ApplicationRecord has_many :projects, dependent: :destroy # rubocop:disable Cop/ActiveRecordDependent has_many :project_statistics has_one :namespace_settings, inverse_of: :namespace, class_name: 'NamespaceSetting', autosave: true + has_one :ci_cd_settings, inverse_of: :namespace, class_name: 'NamespaceCiCdSetting', autosave: true has_one :namespace_statistics has_one :namespace_route, foreign_key: :namespace_id, autosave: false, inverse_of: :namespace, class_name: 'Route' has_many :namespace_members, foreign_key: :member_namespace_id, inverse_of: :member_namespace, class_name: 'Member' |