mirror of
https://github.com/discourse/discourse-ai.git
synced 2025-02-06 11:38:13 +00:00
10 lines
256 B
Ruby
10 lines
256 B
Ruby
# frozen_string_literal: true
|
|
|
|
class SwitchToGenericCompletionPrompts < ActiveRecord::Migration[7.0]
|
|
def change
|
|
remove_column :completion_prompts, :provider, :text
|
|
|
|
DB.exec("DELETE FROM completion_prompts WHERE (id < 0 AND id > -300)")
|
|
end
|
|
end
|