diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2023-09-29 18:09:53 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2023-09-29 18:09:53 +0300 |
commit | 65e97ca5a0072ed41aaebaf756b164748a93720b (patch) | |
tree | 9f6241b0659eee7ec17bca687f80c05fb0130124 /app/models | |
parent | 149878ca3c94f2f3be4161d590626909c53435d5 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/models')
-rw-r--r-- | app/models/namespace.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/namespace.rb b/app/models/namespace.rb index 5aed1f4f5fb..307d16c639e 100644 --- a/app/models/namespace.rb +++ b/app/models/namespace.rb @@ -95,7 +95,7 @@ class Namespace < ApplicationRecord length: { maximum: 255 } validates :name, uniqueness: { scope: [:type, :parent_id] }, if: -> { parent_id.present? } - validates :description, length: { maximum: 255 } + validates :description, length: { maximum: 2000 } validates :path, presence: true, |