# frozen_string_literal: true

class RemoveTableVulnerabilityExportRegistry < ActiveRecord::Migration[6.0]
  DOWNTIME = false

  def up
    return unless table_exists?(:vulnerability_export_registry)

    drop_table :vulnerability_export_registry
  end

  def down
    # no-op because `vulnerability_export_verification_status` table should not
    # be created, see https://gitlab.com/gitlab-org/gitlab/-/issues/232977
  end
end
