fix: default_repo_contents in ash_postgres.install (#340)

This commit is contained in:
Igor Barakaiev 2024-07-03 18:12:37 +02:00 committed by GitHub
parent bc42cce55b
commit ffbfc1c23a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -198,13 +198,11 @@ defmodule Mix.Tasks.AshPostgres.Install do
defp setup_repo_module(igniter, otp_app, repo) do
default_repo_contents =
"""
defmodule #{inspect(repo)} do
use AshPostgres.Repo, otp_app: #{inspect(otp_app)}
use AshPostgres.Repo, otp_app: #{inspect(otp_app)}
def installed_extensions do
# Add extensions here, and the migration generator will install them.
["ash-functions"]
end
def installed_extensions do
# Add extensions here, and the migration generator will install them.
["ash-functions"]
end
"""