File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed
Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -82,7 +82,7 @@ defmodule AshPostgres.Repo do
8282 otp_app = opts [ :otp_app ] || raise ( "Must configure OTP app" )
8383
8484 use Ecto.Repo ,
85- adapter: Ecto.Adapters.Postgres ,
85+ adapter: opts [ :adapter ] || Ecto.Adapters.Postgres ,
8686 otp_app: otp_app
8787 end
8888
Original file line number Diff line number Diff line change @@ -79,6 +79,7 @@ defmodule AshPostgres.Test.Post do
7979 defaults ( [ :destroy ] )
8080
8181 destroy :destroy_with_confirm do
82+ require_atomic? ( false )
8283 argument ( :confirm , :string , allow_nil?: false )
8384
8485 change ( fn changeset , _ ->
@@ -93,6 +94,7 @@ defmodule AshPostgres.Test.Post do
9394 end
9495
9596 destroy :soft_destroy_with_confirm do
97+ require_atomic? ( false )
9698 argument ( :confirm , :string , allow_nil?: false )
9799
98100 change ( fn changeset , _ ->
You can’t perform that action at this time.
0 commit comments