chatwoot-develop/db/migrate/20250523024825_remove_uuid_from_copilot_threads.rb

9 lines
244 B
Ruby
Executable File

class RemoveUuidFromCopilotThreads < ActiveRecord::Migration[7.1]
def change
remove_column :copilot_threads, :uuid, :string
add_column :copilot_threads, :assistant_id, :integer
add_index :copilot_threads, :assistant_id
end
end