View Source PaperTrail.Version (Bonfire v0.9.10-classic-beta.156)

Summary

Functions

Returns the count of all version records in the database

Returns the first version record in the database by :inserted_at

Returns the last version record in the database by :inserted_at

Types

@type t() :: %PaperTrail.Version{
  __meta__: term(),
  event: term(),
  id: term(),
  inserted_at: term(),
  item_changes: term(),
  item_id: term(),
  item_type: term(),
  meta: term(),
  origin: term(),
  originator_id: term(),
  user: term()
}

Functions

Link to this function

changeset(model, params \\ %{})

View Source

Returns the count of all version records in the database

Returns the first version record in the database by :inserted_at

Returns the last version record in the database by :inserted_at