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

20220707160707_rename_slack_integration_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: d553e349fc175c69b3fd977faad2c7e5bf8fe569 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
# frozen_string_literal: true

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

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

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