Skip to content

Commit

Permalink
ZennerIoT#14 Adjust the doc, use :utc_datetime_usec
Browse files Browse the repository at this point in the history
  • Loading branch information
neodevelop committed Mar 20, 2021
1 parent 4732039 commit f25ba57
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ config :ex_audit,
]
```

Optionally, you can tell ExAudit to treat certain structs as primitives and not record internal changes for the
Optionally, you can tell ExAudit to treat certain structs as primitives and not record internal changes for the
struct. Add these under the key `:primitive_structs` in your config. So for example, if you configured `Date` to be treated as a primitive:

```elixir
Expand Down Expand Up @@ -139,7 +139,7 @@ defmodule MyApp.Version do
field :action, ExAudit.Type.Action

# when has this happened
field :recorded_at, :utc_datetime
field :recorded_at, :utc_datetime_usec

# was this change part of a rollback?
field :rollback, :boolean, default: false
Expand Down

0 comments on commit f25ba57

Please sign in to comment.