diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-01-07 00:15:26 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-01-07 00:15:26 +0300 |
commit | 35b5da5522eb8ce73ad69a3b984a4e2028d9a456 (patch) | |
tree | 04887d94104249d4e011f7c2de11be141af20b48 /.gitlab | |
parent | c38fb401d2e0348c0dbfd415c9818444dbe4951c (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to '.gitlab')
-rw-r--r-- | .gitlab/issue_templates/Geo Replicate a new Git repository type.md | 2 | ||||
-rw-r--r-- | .gitlab/issue_templates/Geo Replicate a new blob type.md | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/.gitlab/issue_templates/Geo Replicate a new Git repository type.md b/.gitlab/issue_templates/Geo Replicate a new Git repository type.md index f4f70a38a27..3c482105a22 100644 --- a/.gitlab/issue_templates/Geo Replicate a new Git repository type.md +++ b/.gitlab/issue_templates/Geo Replicate a new Git repository type.md @@ -488,6 +488,8 @@ That's all of the required database changes. module Geo class CoolWidgetState < ApplicationRecord + include EachBatch + self.primary_key = :cool_widget_id belongs_to :cool_widget, inverse_of: :cool_widget_state diff --git a/.gitlab/issue_templates/Geo Replicate a new blob type.md b/.gitlab/issue_templates/Geo Replicate a new blob type.md index 57652bd903a..d2fc7307c88 100644 --- a/.gitlab/issue_templates/Geo Replicate a new blob type.md +++ b/.gitlab/issue_templates/Geo Replicate a new blob type.md @@ -452,6 +452,8 @@ That's all of the required database changes. ``` ruby module Geo class CoolWidgetState < ApplicationRecord + include EachBatch + self.primary_key = :cool_widget_id belongs_to :cool_widget, inverse_of: :cool_widget_state |