diff --git a/lib/paper_trail/serializer.ex b/lib/paper_trail/serializer.ex index 22081954..df777c69 100644 --- a/lib/paper_trail/serializer.ex +++ b/lib/paper_trail/serializer.ex @@ -155,6 +155,7 @@ defmodule PaperTrail.Serializer do associations = serialize_associations(model, options, event) changes + |> Map.take(schema.__schema__(:fields)) |> Enum.map(&dump_field!(&1, schema, adapter, options, event)) |> Map.new() |> Map.merge(associations)