diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2023-01-12 21:08:22 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2023-01-12 21:08:22 +0300 |
commit | 93d7ee54f1920f37149d934c3420e8403463109a (patch) | |
tree | fda87dc589eecd8bedcd15c0bd20f11446b1d2cc /app/models/namespace.rb | |
parent | d549d413bb69f87ec26661ec96287bb4b25c32ff (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 04787360622..cf638f9b16c 100644 --- a/app/models/namespace.rb +++ b/app/models/namespace.rb @@ -84,6 +84,7 @@ class Namespace < ApplicationRecord has_many :timelog_categories, class_name: 'TimeTracking::TimelogCategory' has_many :achievements, class_name: 'Achievements::Achievement' + has_many :namespace_commit_emails, class_name: 'Users::NamespaceCommitEmail' validates :owner, presence: true, if: ->(n) { n.owner_required? } validates :name, |