mirror of
https://github.com/discourse/discourse-ai.git
synced 2025-07-10 08:03:28 +00:00
14 lines
276 B
Ruby
14 lines
276 B
Ruby
|
# frozen_string_literal: true
|
||
|
class RemoveOldSettings < ActiveRecord::Migration[7.2]
|
||
|
def up
|
||
|
execute <<~SQL
|
||
|
DELETE FROM site_settings
|
||
|
WHERE name IN ('ai_bot_enabled_chat_bots')
|
||
|
SQL
|
||
|
end
|
||
|
|
||
|
def down
|
||
|
raise ActiveRecord::IrreversibleMigration
|
||
|
end
|
||
|
end
|