mirror of
https://github.com/discourse/discourse-ai.git
synced 2025-02-12 06:24:42 +00:00
This is a rather huge refactor with 1 new feature (tool details can be suppressed) Previously we use the name "Command" to describe "Tools", this unifies all the internal language and simplifies the code. We also amended the persona UI to use less DToggles which aligns with our design guidelines. Co-authored-by: Martin Brennan <martin@discourse.org>
11 lines
246 B
Ruby
11 lines
246 B
Ruby
# frozen_string_literal: true
|
|
class DropCommandsFromAiPersonas < ActiveRecord::Migration[7.0]
|
|
def down
|
|
raise ActiveRecord::IrreversibleMigration
|
|
end
|
|
|
|
def up
|
|
Migration::ColumnDropper.execute_drop(:ai_personas, [:commands])
|
|
end
|
|
end
|