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
path: root/app
diff options
context:
space:
mode:
authorShinya Maeda <shinya@gitlab.com>2017-11-06 10:00:39 +0300
committerShinya Maeda <shinya@gitlab.com>2017-11-06 10:00:39 +0300
commitc1f064cbe39d6008206a0fe31e10f4a5e0c9ad28 (patch)
tree5a6d6bdd1a502a817125aa98854dc65c31e20808 /app
parent1d5f2f9c333534b7004501bcfa52ca873d6a3403 (diff)
Remove unique validation from external_url in Environment
Diffstat (limited to 'app')
-rw-r--r--app/models/environment.rb1
1 files changed, 0 insertions, 1 deletions
diff --git a/app/models/environment.rb b/app/models/environment.rb
index 8d6b0a32c13..21a028e351c 100644
--- a/app/models/environment.rb
+++ b/app/models/environment.rb
@@ -30,7 +30,6 @@ class Environment < ActiveRecord::Base
message: Gitlab::Regex.environment_slug_regex_message }
validates :external_url,
- uniqueness: { scope: :project_id },
length: { maximum: 255 },
allow_nil: true,
addressable_url: true