# `AshEvents.EventLog.Verifiers.VerifyPersistActorPrimaryKey`
[🔗](https://github.com/ash-project/ash_events/blob/v0.7.0/lib/event_log/verifiers/verify_persist_actor_primary_key.ex#L5)

Verifies that when multiple persist_actor_primary_key options are defined,
they all have allow_nil? set to true.

This ensures that event logs can handle cases where multiple actor types
might be stored, but only one is relevant for any given event.

---

*Consult [api-reference.md](api-reference.md) for complete listing*
