mirror of
https://github.com/ash-project/ash.git
synced 2024-09-20 13:33:20 +12:00
Update getting_started_phx.md
This commit is contained in:
parent
cf314d5a6b
commit
56a7081980
1 changed files with 5 additions and 1 deletions
|
@ -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
|
||||
```
|
||||
|
||||
|
|
Loading…
Reference in a new issue