summaryrefslogtreecommitdiff
path: root/db/post_migrate/20230208110638_cleanup_ci_runner_machines_machine_xid_rename.rb
blob: b596d7773ae8b6686986a4b4d831db68f0e7c060 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
# frozen_string_literal: true

class CleanupCiRunnerMachinesMachineXidRename < Gitlab::Database::Migration[2.1]
  disable_ddl_transaction!

  def up
    cleanup_concurrent_column_rename :ci_runner_machines, :machine_xid, :system_xid
  end

  def down
    undo_cleanup_concurrent_column_rename :ci_runner_machines, :machine_xid, :system_xid
  end
end