```ruby
class RemoveOntologyFromProofAttemptConfiguration < MigrationWithData
  def up
    ProofAttemptConfiguration.find_each do |pac|
      pac.send(:generate_locid)
      pac.save!
    end
  end

  def down
    ProofAttemptConfiguration.find_each do |pac|
      pac.send(:generate_locid)
      pac.save!
    end
  end
end
```

Fix data migration not finding a method.
user
```ruby
class RemoveOntologyFromProofAttemptConfiguration < MigrationWithData
  def up
    ProofAttemptConfiguration.find_each do |pac|
      pac.send(:generate_locid) if pac.respond_to?(:generate_locid)
      pac.save!
    end
  end

  def down
    ProofAttemptConfiguration.find_each do |pac|
      pac.send(:generate_locid) if pac.respond_to?(:generate_locid)
      pac.save!
    end
  end
end
```
assistant