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

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

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

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

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