mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-30 10:58:31 -05:00
8 lines
515 B
Ruby
8 lines
515 B
Ruby
class RenameConfirmTranslationKey < ActiveRecord::Migration
|
|
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
|