- Add API support for creating a thread - Add API support for creating a message - Remove uuid from thread (no longer required, we will use existing websocket connection to send messages) - Update message_type to a column (user, assistant, assistant_thinking)
9 lines
244 B
Ruby
9 lines
244 B
Ruby
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
|