Verifies that the pgflow database schema exists and is compatible with this version of the Elixir implementation.
Usage
mix pgflow.check_schema [options]Options
--repo- The Ecto repo to check. Default: reads from config
Examples
mix pgflow.check_schema
mix pgflow.check_schema --repo MyApp.RepoWhat It Checks
- The
pgflowschema and required tables exist - Installed core and helpers versions meet the bundled minimums
- Required function signatures: four-argument
start_tasks/4,ensure_flow_compiled/2, and no obsolete three-argument claim - Queue identity constraints on
step_tasksandsteps - Eight-field
step_task_recordlayout includingattempts_count - Task status enum includes
skippedandcancelled - pgmq extension is available
See docs/UPSTREAM_COMPATIBILITY.md for the full contract.