mirror of
https://github.com/discourse/discourse.git
synced 2024-11-30 14:26:12 +08:00
9 lines
520 B
Ruby
9 lines
520 B
Ruby
class RenameConfirmTranslationKey < ActiveRecord::Migration[4.2]
|
|
def change
|
|
execute "UPDATE translation_overrides SET translation_key = 'user_notifications.confirm_new_email.subject_template'
|
|
WHERE translation_key = 'user_notifications.authorize_email.subject_template'"
|
|
execute "UPDATE translation_overrides SET translation_key = 'user_notifications.confirm_new_email.text_body_template'
|
|
WHERE translation_key = 'user_notifications.authorize_email.text_body_template'"
|
|
end
|
|
end
|