diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2021-01-27 15:09:01 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2021-01-27 15:09:01 +0300 |
commit | 507c0e71cd73201beadf9c5e1e0361fc8e9e2665 (patch) | |
tree | 2f9896faffe068d93d1789a72c5ed81954c791c4 /app/models/project_pages_metadatum.rb | |
parent | 6e7dc3f9d6b95200abd1fcd5cc418a9ae9803e4c (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/models/project_pages_metadatum.rb')
-rw-r--r-- | app/models/project_pages_metadatum.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/app/models/project_pages_metadatum.rb b/app/models/project_pages_metadatum.rb index 0b12367f4bf..58dbac9057f 100644 --- a/app/models/project_pages_metadatum.rb +++ b/app/models/project_pages_metadatum.rb @@ -1,6 +1,8 @@ # frozen_string_literal: true class ProjectPagesMetadatum < ApplicationRecord + extend SuppressCompositePrimaryKeyWarning + include EachBatch self.primary_key = :project_id |