Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanluptak authored Nov 8, 2023
1 parent 18a1424 commit eff9d65
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,15 +55,13 @@ end

For older ecto versions than 3.2, check out what to do in the [Ecto Versions](#ecto-versions) section.

You have to hook `ExAudit.Repo` to your repo:
You have to hook `ExAudit.Repo` to your repo by replacing `use Ecto.Repo` with `use ExAudit.Repo`:

```elixir
defmodule MyApp.Repo do
use Ecto.Repo,
use ExAudit.Repo,
otp_app: :my_app,
adapter: Ecto.Adapters.Postgres

use ExAudit.Repo
end
```

Expand Down

0 comments on commit eff9d65

Please sign in to comment.