View Source Statestores.Schemas.HistoricalSnapshot (spawn_statestores v2.0.0-RC6)

Schema for the historical snapshot records.

Summary

Functions

changeset(event, attrs \\ %{})

@spec changeset(
  %Statestores.Schemas.HistoricalSnapshot{
    __meta__: term(),
    actor: term(),
    actor_id: term(),
    data: term(),
    data_type: term(),
    inserted_at: term(),
    node: term(),
    revision: term(),
    status: term(),
    system: term(),
    tags: term(),
    updated_at: term(),
    valid_from: term(),
    valid_to: term()
  },
  map()
) :: Ecto.Changeset.t() | {:error, Ecto.Changeset.t()}