mix durable.migrations (Durable v0.1.0-rc)

View Source

Displays Durable's internal migration status for an Ecto repo.

Use --check in CI or deploy gates to fail when the database is behind the Durable library version.

Usage

mix durable.migrations
mix durable.migrations -r MyApp.Repo --check
mix durable.migrations --prefix private
mix durable.migrations --json

Options

  • -r, --repo - The Ecto repo to inspect
  • --prefix - Durable PostgreSQL schema prefix (default: "durable")
  • --json - Emit JSON instead of text
  • --check - Raise if any Durable migrations are pending