Update getting_started_phx.md

This commit is contained in:
Zach Daniel 2022-04-16 09:42:14 -04:00 committed by GitHub
parent cf314d5a6b
commit 56a7081980
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -53,12 +53,16 @@ Next modify the the `.formatter` and `mix.exs` files:
```
Next, modify `MyApp.Repo` to use `AshPostgres.Repo` instead of `Ecto.Repo`.
Next, modify `MyApp.Repo` to use `AshPostgres.Repo` instead of `Ecto.Repo`, and add the `uuid-ossp` extension (unless you won't be using uuids).
```elixir
defmodule MyApp.Repo do
use AshPostgres.Repo,
otp_app: :my_app
def installed_extensions do
["uuid-ossp"]
end
end
```