mitgliederverwaltung/lib/mv/repo.ex
Rafael Epplée 86437cbb9d
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
Add ash framework
2025-04-21 12:37:55 +02:00

22 lines
434 B
Elixir

defmodule Mv.Repo do
use AshPostgres.Repo,
otp_app: :mv
@impl true
def installed_extensions do
# Add extensions here, and the migration generator will install them.
["ash-functions"]
end
# Don't open unnecessary transactions
# will default to `false` in 4.0
@impl true
def prefer_transaction? do
false
end
@impl true
def min_pg_version do
%Version{major: 17, minor: 2, patch: 0}
end
end