Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2023-09-29 18:09:53 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2023-09-29 18:09:53 +0300
commit65e97ca5a0072ed41aaebaf756b164748a93720b (patch)
tree9f6241b0659eee7ec17bca687f80c05fb0130124 /app/models
parent149878ca3c94f2f3be4161d590626909c53435d5 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/models')
-rw-r--r--app/models/namespace.rb2
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,