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

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

class RemoveChatNamesIntegrationIdColumn < Gitlab::Database::Migration[2.1]
  def up
    remove_column :chat_names, :integration_id
  end

  def down
    add_column :chat_names, :integration_id, :integer, if_not_exists: true
  end
end