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

20220707105335_rename_chat_name_service_id_to_integration_id.rb « migrate « db - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: a6625d030a426674f2c69ae76b02f8556798dab9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
# frozen_string_literal: true

class RenameChatNameServiceIdToIntegrationId < Gitlab::Database::Migration[2.0]
  disable_ddl_transaction!

  def up
    rename_column_concurrently :chat_names, :service_id, :integration_id
  end

  def down
    undo_rename_column_concurrently :chat_names, :service_id, :integration_id
  end
end