diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2021-12-07 00:14:07 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2021-12-07 00:14:07 +0000 |
commit | ec6dd14345a117d1ff4db3b0b19a1c0fa4c7e61b (patch) | |
tree | 17fc96a7b90cf9cd5f1ad6eeff335234ebaf8a97 /.gitlab/issue_templates | |
parent | 36c5bf80d4aaedba332a420e3d620b2ee9e2bb65 (diff) | |
download | gitlab-ce-ec6dd14345a117d1ff4db3b0b19a1c0fa4c7e61b.tar.gz |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to '.gitlab/issue_templates')
-rw-r--r-- | .gitlab/issue_templates/Geo Replicate a new Git repository type.md | 3 | ||||
-rw-r--r-- | .gitlab/issue_templates/Geo Replicate a new blob type.md | 3 |
2 files changed, 6 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 5193c17b942..f4f70a38a27 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 @@ -491,6 +491,9 @@ That's all of the required database changes. self.primary_key = :cool_widget_id belongs_to :cool_widget, inverse_of: :cool_widget_state + + validates :verification_failure, length: { maximum: 255 } + validates :verification_state, :cool_widget, presence: true end end ``` 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 a5147478924..57652bd903a 100644 --- a/.gitlab/issue_templates/Geo Replicate a new blob type.md +++ b/.gitlab/issue_templates/Geo Replicate a new blob type.md @@ -455,6 +455,9 @@ That's all of the required database changes. self.primary_key = :cool_widget_id belongs_to :cool_widget, inverse_of: :cool_widget_state + + validates :verification_failure, length: { maximum: 255 } + validates :verification_state, :cool_widget, presence: true end end ``` |