diff options
author | Shinya Maeda <shinya@gitlab.com> | 2017-07-06 19:24:49 +0300 |
---|---|---|
committer | Shinya Maeda <shinya@gitlab.com> | 2017-07-06 20:49:24 +0300 |
commit | f8391bd782ef9a19b6c8595331ada49721bd89be (patch) | |
tree | ea821e8e2908f81eb6b04b61425014ed8ce56a35 /app/models/ci/pipeline_schedule_variable.rb | |
parent | 07c7edd3e38eed58962268c06908e85a7ddfe381 (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.rb | 2 |
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 |