chatwoot-develop/db/migrate/20251022152158_add_index_to_conversations_identifier.rb

7 lines
262 B
Ruby
Executable File

class AddIndexToConversationsIdentifier < ActiveRecord::Migration[7.1]
disable_ddl_transaction!
def change
add_index :conversations, [:identifier, :account_id], name: 'index_conversations_on_identifier_and_account_id', algorithm: :concurrently
end
end