mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-24 08:09:13 -05:00
8 lines
280 B
Ruby
8 lines
280 B
Ruby
class FixTosName < ActiveRecord::Migration
|
|
def up
|
|
I18n.overrides_disabled do
|
|
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
|
|
end
|