# `mix phoenix_mountable.check`
[🔗](https://github.com/hattoriai/phoenix_mountable/blob/v0.2.1/lib/mix/tasks/phoenix_mountable.check.ex#L2)

Checks every library using `PhoenixMountable.Migrations` against the
database, for CI.

    $ mix phoenix_mountable.check

Exits with status 1 when a library is not installed or its schema is older
than the library needs. With `--strict`, a pending upgrade (older than the
latest, but still compatible) fails too.

## Options

  * `-r`, `--repo` — the repo (defaults to the app's `:ecto_repos`)
  * `--prefix` — the prefix to check
  * `--strict` — fail on pending upgrades
  * `--only` — check only this migrations module (can repeat)

---

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