diff options
Diffstat (limited to 'db/post_migrate/20180914201132_remove_sidekiq_throttling_from_application_settings.rb')
-rw-r--r-- | db/post_migrate/20180914201132_remove_sidekiq_throttling_from_application_settings.rb | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/db/post_migrate/20180914201132_remove_sidekiq_throttling_from_application_settings.rb b/db/post_migrate/20180914201132_remove_sidekiq_throttling_from_application_settings.rb deleted file mode 100644 index 2c007ec395d..00000000000 --- a/db/post_migrate/20180914201132_remove_sidekiq_throttling_from_application_settings.rb +++ /dev/null @@ -1,17 +0,0 @@ -# frozen_string_literal: true -# See http://doc.gitlab.com/ce/development/migration_style_guide.html -# for more information on how to write migrations for GitLab. - -class RemoveSidekiqThrottlingFromApplicationSettings < ActiveRecord::Migration[4.2] - include Gitlab::Database::MigrationHelpers - - DOWNTIME = false - - def change - remove_column :application_settings, :sidekiq_throttling_enabled, :boolean, default: false - remove_column :application_settings, :sidekiq_throttling_queues, :string - remove_column :application_settings, :sidekiq_throttling_factor, :decimal - - Rails.cache.delete("ApplicationSetting:#{Gitlab::VERSION}:#{Rails.version}") - end -end |