# frozen_string_literal: true class FixTosName < ActiveRecord::Migration[4.2] def up execute <<~SQL UPDATE user_fields SET name = 'Terms of Service' WHERE name = 'I have read and accept the Terms of Service.' SQL end def down raise ActiveRecord::IrreversibleMigration end end