summaryrefslogtreecommitdiff
path: root/db/migrate/20200311141943_insert_ci_pipeline_schedules_plan_limits.rb
diff options
context:
space:
mode:
Diffstat (limited to 'db/migrate/20200311141943_insert_ci_pipeline_schedules_plan_limits.rb')
-rw-r--r--db/migrate/20200311141943_insert_ci_pipeline_schedules_plan_limits.rb25
1 files changed, 0 insertions, 25 deletions
diff --git a/db/migrate/20200311141943_insert_ci_pipeline_schedules_plan_limits.rb b/db/migrate/20200311141943_insert_ci_pipeline_schedules_plan_limits.rb
deleted file mode 100644
index 2a04781c65e..00000000000
--- a/db/migrate/20200311141943_insert_ci_pipeline_schedules_plan_limits.rb
+++ /dev/null
@@ -1,25 +0,0 @@
-# frozen_string_literal: true
-
-class InsertCiPipelineSchedulesPlanLimits < ActiveRecord::Migration[6.0]
- include Gitlab::Database::MigrationHelpers
-
- DOWNTIME = false
-
- def up
- return unless Gitlab.com?
-
- create_or_update_plan_limit('ci_pipeline_schedules', 'free', 10)
- create_or_update_plan_limit('ci_pipeline_schedules', 'bronze', 50)
- create_or_update_plan_limit('ci_pipeline_schedules', 'silver', 50)
- create_or_update_plan_limit('ci_pipeline_schedules', 'gold', 50)
- end
-
- def down
- return unless Gitlab.com?
-
- create_or_update_plan_limit('ci_pipeline_schedules', 'free', 0)
- create_or_update_plan_limit('ci_pipeline_schedules', 'bronze', 0)
- create_or_update_plan_limit('ci_pipeline_schedules', 'silver', 0)
- create_or_update_plan_limit('ci_pipeline_schedules', 'gold', 0)
- end
-end