mirror of
https://github.com/discourse/discourse.git
synced 2024-11-24 19:03:13 +08:00
23 lines
545 B
Ruby
23 lines
545 B
Ruby
# frozen_string_literal: true
|
|
|
|
class RemoveUpdatedTranslationOverrides < ActiveRecord::Migration[7.0]
|
|
def up
|
|
execute <<~SQL
|
|
DELETE
|
|
FROM translation_overrides
|
|
WHERE translation_key IN (
|
|
'js.user.messages.read_more_group_pm_MF',
|
|
'js.user.messages.read_more_personal_pm_MF',
|
|
'js.topic.read_more_MF',
|
|
'js.topic.bumped_at_title_MF',
|
|
'js.topic.read_more_in_category',
|
|
'js.topic.read_more'
|
|
)
|
|
SQL
|
|
end
|
|
|
|
def down
|
|
raise ActiveRecord::IrreversibleMigration
|
|
end
|
|
end
|