FIX: add migration to replace 'blocked_by_staff' with 'silenced_by_staff'
This commit is contained in:
parent
5ad1709dba
commit
5ca558c7c5
|
@ -0,0 +1,8 @@
|
|||
class ReplaceBlockedSilenceTranslation < ActiveRecord::Migration[5.1]
|
||||
def change
|
||||
execute <<~SQL
|
||||
UPDATE translation_overrides SET translation_key = 'system_messages.silenced_by_staff.subject_template' WHERE translation_key = 'system_messages.blocked_by_staff.subject_template';
|
||||
UPDATE translation_overrides SET translation_key = 'system_messages.silenced_by_staff.text_body_template' WHERE translation_key = 'system_messages.blocked_by_staff.text_body_template';
|
||||
SQL
|
||||
end
|
||||
end
|
Loading…
Reference in New Issue