mirror of
https://github.com/discourse/discourse-ai.git
synced 2025-07-16 11:03:28 +00:00
* DEV: Indicate backfill rate for translations is hourly * add ai_translation_max_post_length * default value update
12 lines
317 B
Ruby
12 lines
317 B
Ruby
# frozen_string_literal: true
|
|
|
|
class SpecifyRateFrequencyInBackfillSetting < ActiveRecord::Migration[7.2]
|
|
def up
|
|
execute "UPDATE site_settings SET name = 'ai_translation_backfill_hourly_rate' WHERE name = 'ai_translation_backfill_rate'"
|
|
end
|
|
|
|
def down
|
|
raise ActiveRecord::IrreversibleMigration
|
|
end
|
|
end
|