Skip to content

Commit d6f69c8

Browse files
authored
Mention configuration in readme
1 parent 7f33ee1 commit d6f69c8

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

README.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,14 @@ EctoTrail allows to store changeset changes into a separate `audit_log` table.
5050
use EctoTrail
5151
end
5252
```
53+
54+
5. Configure table name which is used to store audit log (in `config.ex`):
5355

54-
5. Use logging functions instead of defaults. See `EctoTrail` module docs.
56+
```elixir
57+
config :ecto_trail, table_name: "audit_log"
58+
```
59+
60+
6. Use logging functions instead of defaults. See `EctoTrail` module docs.
5561

5662
## Docs
5763

0 commit comments

Comments
 (0)