diff options
Diffstat (limited to '.gitlab')
-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 ``` |