summaryrefslogtreecommitdiff
path: root/db/post_migrate/20220707160921_cleanup_slack_integration_service_id.rb
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