0
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2026-08-05 21:57:36 +08:00
discourse/db/migrate/20260430142946_drop_powered_by_discourse_translation_override.rb
Penar Musaraj fd3d277d68
UX: Don't include powered_by string in site text overrides (#39660)
The element's link is hardcoded, allowing overrides causes confusion.
Site admins can still remove this widget entirely or override with
themes/components.
2026-04-30 12:15:34 -04:00

10 lines
290 B
Ruby
Vendored

# frozen_string_literal: true
class DropPoweredByDiscourseTranslationOverride < ActiveRecord::Migration[8.0]
def up
execute "DELETE FROM translation_overrides WHERE translation_key = 'js.powered_by_discourse'"
end
def down
raise ActiveRecord::IrreversibleMigration
end
end