diff options
Diffstat (limited to 'db/post_migrate/20191031112603_remove_limits_from_plans.rb')
-rw-r--r-- | db/post_migrate/20191031112603_remove_limits_from_plans.rb | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/db/post_migrate/20191031112603_remove_limits_from_plans.rb b/db/post_migrate/20191031112603_remove_limits_from_plans.rb deleted file mode 100644 index 30fb6a9d193..00000000000 --- a/db/post_migrate/20191031112603_remove_limits_from_plans.rb +++ /dev/null @@ -1,17 +0,0 @@ -# frozen_string_literal: true - -class RemoveLimitsFromPlans < ActiveRecord::Migration[5.2] - DOWNTIME = false - - def up - remove_column :plans, :active_pipelines_limit - remove_column :plans, :pipeline_size_limit - remove_column :plans, :active_jobs_limit - end - - def down - add_column :plans, :active_pipelines_limit, :integer - add_column :plans, :pipeline_size_limit, :integer - add_column :plans, :active_jobs_limit, :integer - end -end |