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

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

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

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

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