Incident.EventStore.Postgres.Event (incident v0.6.1) View Source

Defines the data structure for any event for the Postgres adapter.

All fields are required.

Link to this section Summary

Link to this section Types

Specs

t() :: %Incident.EventStore.Postgres.Event{
  __meta__: term(),
  aggregate_id: String.t() | nil,
  event_data: map() | nil,
  event_date: DateTime.t() | nil,
  event_id: String.t() | nil,
  event_type: String.t() | nil,
  id: pos_integer() | nil,
  inserted_at: DateTime.t() | nil,
  version: pos_integer() | nil
}