Skip to content

Commit

Permalink
Improved source code
Browse files Browse the repository at this point in the history
  • Loading branch information
wintermeyer committed Oct 9, 2023
1 parent c4392db commit 479de17
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions modules/ROOT/pages/ash/postgresql/phoenix.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -12,17 +12,17 @@ Add Ash and AshPostgres as a dependency:

[source,elixir,title='mix.exs']
----
[...]
# [...]
defp deps do
[
{:phoenix, "~> 1.7.7"},
{:phoenix_html, "~> 3.3"},
[...]
# [...]
{:ash, "~> 2.15.8"}, <1>
{:ash_postgres, "~> 1.3.52"} <2>
]
end
[...]
# [...]
----

<1> Find the latest version number at https://hex.pm/packages/ash
Expand Down Expand Up @@ -62,7 +62,7 @@ setup. Add the Ash Configurations to the file:

[source,elixir,title='config/config.exs']
----
[...]
# [...]
# Ash configuration
config :app,
Expand All @@ -84,7 +84,7 @@ Please add the following lines to the end of the `config/dev.exs` file:

[source,elixir,title='config/dev.exs']
----
[...]
# [...]
config :app, App.Repo,
username: "postgres", <1>
Expand All @@ -104,7 +104,7 @@ Please add the following code to the end of `config/runtime.exs` file:

[source,elixir,title='config/runtime.exs']
----
[...]
# [...]
if config_env() == :prod do
database_url =
Expand All @@ -130,7 +130,7 @@ Add the following lines to the end of the `config/test.exs` file:

[source,elixir,title='config/test.exs']
----
[...]
# [...]
config :app, App.Repo,
username: "postgres",
Expand Down

0 comments on commit 479de17

Please sign in to comment.