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 exists - Required tables exist: flows, steps, deps, runs, step_states, step_tasks, workers
- Required functions exist: start_flow, complete_task, fail_task, etc.
- pgmq extension is available