mirror of
https://github.com/discourse/discourse.git
synced 2024-12-17 05:53:44 +08:00
7 lines
239 B
Ruby
7 lines
239 B
Ruby
|
class FixTosName < ActiveRecord::Migration
|
||
|
def up
|
||
|
execute ActiveRecord::Base.sql_fragment('UPDATE user_fields SET name = ? WHERE name = ?', I18n.t('terms_of_service.title'), I18n.t("terms_of_service.signup_form_message"))
|
||
|
|
||
|
end
|
||
|
end
|