2021-03-11 19:13:27 +05:30
|
|
|
# frozen_string_literal: true
|
|
|
|
|
|
|
|
class CleanUpAssetProxyWhitelistRenameOnApplicationSettings < ActiveRecord::Migration[6.0]
|
|
|
|
include Gitlab::Database::MigrationHelpers::V2
|
|
|
|
|
|
|
|
DOWNTIME = false
|
|
|
|
|
|
|
|
disable_ddl_transaction!
|
|
|
|
|
|
|
|
def up
|
2021-04-17 20:07:23 +05:30
|
|
|
# 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.
|
2021-03-11 19:13:27 +05:30
|
|
|
end
|
|
|
|
|
|
|
|
def down
|
2021-04-17 20:07:23 +05:30
|
|
|
# no-op
|
2021-03-11 19:13:27 +05:30
|
|
|
end
|
|
|
|
end
|