Welcome to mirror list, hosted at ThFree Co, Russian Federation.

20230208103640_rename_runner_machine_xid.rb « migrate « db - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: c9c9ffd324f9637aa78685253a951dce1cb419ed (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
# 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