View Source AshPostgres.MigrationCompileCache (ash_postgres v2.4.12)

A cache for the compiled migrations.

This is used to avoid recompiling the migration files every time a migration is run, as well as ensuring that migrations are compiled sequentially.

This is important because otherwise there is a race condition where two invocations could be compiling the same migration at once, which would error out.

Summary

Functions

Compile a file, caching the result for future calls.

Functions

compile_file(file)

Compile a file, caching the result for future calls.

start_link(opts \\ %{})