Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
alco committed Apr 11, 2024
1 parent a3b3e5d commit 5cfa701
Showing 1 changed file with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -148,10 +148,8 @@ defmodule Electric.Postgres.Extension.SchemaLoader.Epgsql do
end

@impl true
def migration_history(pool, version) do
checkout!(pool, fn conn ->
Extension.migration_history(conn, version)
end)
def migration_history(origin, version) do
Client.pooled_query!(origin, Extension.migration_history_query(), [version])
end

@impl true
Expand Down

0 comments on commit 5cfa701

Please sign in to comment.