Skip to content

Commit 84af9d2

Browse files
committed
FIX: If we migrated your TOS setting, fix the name so it doesn't look
weird in the admin section.
1 parent 216f718 commit 84af9d2

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
class FixTosName < ActiveRecord::Migration
2+
def up
3+
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"))
4+
5+
end
6+
end

0 commit comments

Comments
 (0)