summaryrefslogtreecommitdiff
path: root/db/post_migrate/20210105052229_clean_up_asset_proxy_whitelist_rename_on_application_settings.rb
blob: 87f391e240d9672bb239f75612b4d8bf975574b8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# frozen_string_literal: true

class CleanUpAssetProxyWhitelistRenameOnApplicationSettings < ActiveRecord::Migration[6.0]
  include Gitlab::Database::MigrationHelpers::V2

  DOWNTIME = false

  disable_ddl_transaction!

  def up
    # This migration has been made a no-op in https://gitlab.com/gitlab-org/gitlab/-/merge_requests/56352
    # because to revert the rename in https://gitlab.com/gitlab-org/gitlab/-/merge_requests/55419 we need
    # to cleanup the triggers on the `asset_proxy_allowlist` column. As such, this migration would do nothing.
  end

  def down
    # no-op
  end
end