Skip to content

Commit 2bbdbc8

Browse files
author
Justin Wood
committed
Update README
1 parent 77a9d28 commit 2bbdbc8

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

README.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,16 +16,15 @@ or check out examples below.
1616
```elixir
1717
# In your config/config.exs file
1818
config :my_app, Repo,
19+
adapter: Mongo.Ecto
1920
database: "ecto_simple",
2021
username: "mongodb",
2122
password: "mongosb",
2223
hostname: "localhost"
2324

2425
# In your application code
2526
defmodule Repo do
26-
use Ecto.Repo,
27-
otp_app: :my_app,
28-
adapter: Mongo.Ecto
27+
use Ecto.Repo, otp_app: :my_app
2928
end
3029

3130
defmodule Weather do

0 commit comments

Comments
 (0)