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:
Diffstat (limited to 'db/migrate/20200225123228_insert_project_subscriptions_plan_limits.rb')
-rw-r--r--db/migrate/20200225123228_insert_project_subscriptions_plan_limits.rb25
1 files changed, 0 insertions, 25 deletions
diff --git a/db/migrate/20200225123228_insert_project_subscriptions_plan_limits.rb b/db/migrate/20200225123228_insert_project_subscriptions_plan_limits.rb
deleted file mode 100644
index f04e0c68cf6..00000000000
--- a/db/migrate/20200225123228_insert_project_subscriptions_plan_limits.rb
+++ /dev/null
@@ -1,25 +0,0 @@
-# frozen_string_literal: true
-
-class InsertProjectSubscriptionsPlanLimits < ActiveRecord::Migration[6.0]
- include Gitlab::Database::MigrationHelpers
-
- DOWNTIME = false
-
- def up
- return unless Gitlab.com?
-
- create_or_update_plan_limit('ci_project_subscriptions', 'free', 2)
- create_or_update_plan_limit('ci_project_subscriptions', 'bronze', 2)
- create_or_update_plan_limit('ci_project_subscriptions', 'silver', 2)
- create_or_update_plan_limit('ci_project_subscriptions', 'gold', 2)
- end
-
- def down
- return unless Gitlab.com?
-
- create_or_update_plan_limit('ci_project_subscriptions', 'free', 0)
- create_or_update_plan_limit('ci_project_subscriptions', 'bronze', 0)
- create_or_update_plan_limit('ci_project_subscriptions', 'silver', 0)
- create_or_update_plan_limit('ci_project_subscriptions', 'gold', 0)
- end
-end