debian-mirror-gitlab/db/post_migrate/20230208110638_cleanup_ci_runner_machines_machine_xid_rename.rb
2023-04-23 21:23:45 +05:30

14 lines
350 B
Ruby

# 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