Ecto.Adapter.Migration.lock_for_migrations
You're seeing just the callback
lock_for_migrations
, go back to Ecto.Adapter.Migration module for more information.
Specs
lock_for_migrations(adapter_meta(), options :: Keyword.t(), fun) :: result when [fun: (() -> result), result: var]
Locks the migrations table and emits the locked versions for callback execution.
It returns the result of calling the given function with a list of versions.