mirror of
https://github.com/discourse/discourse-ai.git
synced 2025-03-05 00:40:04 +00:00
12 lines
389 B
Ruby
12 lines
389 B
Ruby
# frozen_string_literal: true
|
|
|
|
class RenameAiGistBatchSetting < ActiveRecord::Migration[7.0]
|
|
def up
|
|
execute "UPDATE site_settings SET name = 'ai_summary_gists_allowed_groups' WHERE name = 'ai_hot_topic_gists_allowed_groups'"
|
|
end
|
|
|
|
def down
|
|
execute "UPDATE site_settings SET name = 'ai_hot_topic_gists_allowed_groups' WHERE name = 'ai_summary_gists_allowed_groups'"
|
|
end
|
|
end
|