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:
authorShinya Maeda <shinya@gitlab.com>2017-07-06 19:24:49 +0300
committerShinya Maeda <shinya@gitlab.com>2017-07-06 20:49:24 +0300
commitf8391bd782ef9a19b6c8595331ada49721bd89be (patch)
treeea821e8e2908f81eb6b04b61425014ed8ce56a35 /app/models/ci/pipeline_schedule_variable.rb
parent07c7edd3e38eed58962268c06908e85a7ddfe381 (diff)
Remove validates :key, uniqueness due to new validator covers the case
Diffstat (limited to 'app/models/ci/pipeline_schedule_variable.rb')
-rw-r--r--app/models/ci/pipeline_schedule_variable.rb2
1 files changed, 0 insertions, 2 deletions
diff --git a/app/models/ci/pipeline_schedule_variable.rb b/app/models/ci/pipeline_schedule_variable.rb
index ee5b8733fac..1ff177616e8 100644
--- a/app/models/ci/pipeline_schedule_variable.rb
+++ b/app/models/ci/pipeline_schedule_variable.rb
@@ -4,7 +4,5 @@ module Ci
include HasVariable
belongs_to :pipeline_schedule
-
- validates :key, uniqueness: { scope: :pipeline_schedule_id }
end
end