🔥 initial commit 🔥
This commit is contained in:
22
lib/mixer/repo.ex
Normal file
22
lib/mixer/repo.ex
Normal file
@@ -0,0 +1,22 @@
|
||||
defmodule Mixer.Repo do
|
||||
use AshPostgres.Repo,
|
||||
otp_app: :mixer
|
||||
|
||||
@impl true
|
||||
def installed_extensions do
|
||||
# Add extensions here, and the migration generator will install them.
|
||||
["ash-functions", "citext"]
|
||||
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: 18, minor: 3, patch: 0}
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user