Skip to content
This repository was archived by the owner on Jul 22, 2025. It is now read-only.

Commit 9dad651

Browse files
committed
migrate setting
1 parent 79ee08c commit 9dad651

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# frozen_string_literal: true
2+
3+
class RenameAiGistBatchSetting < ActiveRecord::Migration[7.0]
4+
def up
5+
execute "UPDATE site_settings SET name = 'ai_summarize_max_topic_gists_per_batch' WHERE name = 'ai_summarize_max_hot_topics_gists_per_batch'"
6+
end
7+
8+
def down
9+
execute "UPDATE site_settings SET name = 'ai_summarize_max_hot_topics_gists_per_batch' WHERE name = 'ai_summarize_max_topic_gists_per_batch'"
10+
end
11+
end

0 commit comments

Comments
 (0)