debian-mirror-gitlab/db/migrate/20230208103640_rename_runner_machine_xid.rb

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

14 lines
321 B
Ruby
Raw Normal View History

2023-04-23 21:23:45 +05:30
# 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