debian-mirror-gitlab/db/migrate/20230208103640_rename_runner_machine_xid.rb
2023-04-23 21:23:45 +05:30

13 lines
321 B
Ruby

# frozen_string_literal: true
class RenameRunnerMachineXid < Gitlab::Database::Migration[2.1]
disable_ddl_transaction!
def up
rename_column_concurrently :ci_runner_machines, :machine_xid, :system_xid
end
def down
undo_rename_column_concurrently :ci_runner_machines, :machine_xid, :system_xid
end
end