summaryrefslogtreecommitdiff
path: root/db/post_migrate/20220707105529_cleanup_chat_name_service_id.rb
blob: aa3af4acf3110fa6ca38c3b74f13ddd73de5041e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
# frozen_string_literal: true

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

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

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