diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2021-07-03 03:06:54 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2021-07-03 03:06:54 +0300 |
commit | 840b3aceff471404e2deb1c813c1ac94508db6c1 (patch) | |
tree | c732040bb364b2bfd501bfc18cb4105eb42f1805 /app/models/deploy_key.rb | |
parent | 20d532d397a1fde3104f67c656adf8f581ae6bd3 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/models/deploy_key.rb')
-rw-r--r-- | app/models/deploy_key.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/models/deploy_key.rb b/app/models/deploy_key.rb index 25e3b9fe4f0..8f5a713af3f 100644 --- a/app/models/deploy_key.rb +++ b/app/models/deploy_key.rb @@ -3,6 +3,7 @@ class DeployKey < Key include FromUnion include IgnorableColumns + include PolicyActor has_many :deploy_keys_projects, inverse_of: :deploy_key, dependent: :destroy # rubocop:disable Cop/ActiveRecordDependent has_many :projects, through: :deploy_keys_projects |