Hello! I'm using paper_trail in an application when code is compiled, and the settings of lib do not work.
This error is returned when a try to save, update or delete data with PaperTrail:
** (Ecto.ChangeError) value `"9002cb70-ddf1-4c9b-8c88-458f3086d14d"` for `PaperTrail.Version.item_id` in `insert` does not match type :integer
When I start the application with mix phx.server the settings works and the error does not happen.
Hello! I'm using
paper_trail
in an application when code is compiled, and the settings of lib do not work.This error is returned when a try to save, update or delete data with
PaperTrail
:** (Ecto.ChangeError) value `"9002cb70-ddf1-4c9b-8c88-458f3086d14d"` for `PaperTrail.Version.item_id` in `insert` does not match type :integer
When I start the application with
mix phx.server
the settings works and the error does not happen.That is my config in
runtime.exs
:This is my versions migrate:
Can someone help me?