FIX: If we migrated your TOS setting, fix the name so it doesn't look

weird in the admin section.
This commit is contained in:
Robin Ward 2014-10-14 15:52:36 -04:00
parent 216f718607
commit 84af9d2bff
1 changed files with 6 additions and 0 deletions

View File

@ -0,0 +1,6 @@
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