Update db/migrate/20250716005855_copy_ai_image_caption_model_to_persona_default.rb

This commit is contained in:
Roman Rizzi
2025-07-21 18:00:01 -03:00
committed by GitHub
parent 7dee59c97f
commit 822594f3e3
@@ -11,7 +11,7 @@ class CopyAiImageCaptionModelToPersonaDefault < ActiveRecord::Migration[7.2]
# Extract the model ID from the setting value (e.g., "custom:1" -> "1")
model_id = ai_helper_image_caption_model.split(":").last
persona_settings = %w[ai_helper_post_illustrator_persona ai_helper_image_caption_persona,]
persona_settings = %w[ai_helper_post_illustrator_persona ai_helper_image_caption_persona]
default_persona_ids = [-21, -26]
persona_ids_query =