# `AshPostgres.MigrationCompileCache`
[🔗](https://github.com/ash-project/ash_postgres/blob/v2.9.0/lib/migration_compile_cache.ex#L5)

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.

# `compile_file`

Compile a file, caching the result for future calls.

# `start_link`

---

*Consult [api-reference.md](api-reference.md) for complete listing*
