mirror of
https://github.com/discourse/discourse.git
synced 2024-11-28 09:23:44 +08:00
9 lines
284 B
Ruby
9 lines
284 B
Ruby
class FixTosName < ActiveRecord::Migration[4.2]
|
|
def up
|
|
I18n.overrides_disabled do
|
|
execute DB.sql_fragment('UPDATE user_fields SET name = ? WHERE name = ?', I18n.t('terms_of_service.title'), I18n.t("terms_of_service.signup_form_message", base_path: ""))
|
|
end
|
|
|
|
end
|
|
end
|