mix phoenix_mountable.check (PhoenixMountable v0.2.1)

Copy Markdown View Source

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)