docs: change 'Get Started' guide for Ash 3.0 compatibility

- Use newer `ash_authentication` version since old version had
dependency resolution errors

- Add `ash-functions` to the extensions list
  - Fixes compiler warning when the item is missing
This commit is contained in:
Nicholas Moen 2024-05-12 16:25:52 -06:00 committed by James Harton
parent 7d838980f5
commit 331261f05e

View file

@ -15,7 +15,7 @@ Bring in the `ash_authentication` dependency:
defp deps() defp deps()
[ [
# ... # ...
{:ash_authentication, "~> 3.11"} {:ash_authentication, "~> 4.0"}
] ]
end end
``` ```
@ -126,7 +126,7 @@ defmodule MyApp.Repo do
use AshPostgres.Repo, otp_app: :my_app use AshPostgres.Repo, otp_app: :my_app
def installed_extensions do def installed_extensions do
["uuid-ossp", "citext"] ["ash-functions", "uuid-ossp", "citext"]
end end
end end
``` ```