arctl db migrate force
Used to reconcile the selected source’s schema_migrations table after manual remediation. The version V should come from a prior failure message and must correspond to a shipped migration file in the selected source — otherwise the schema_migrations row would point at a version the binary cannot apply or roll back to, wedging the DB.
Usage
arctl db migrate force V [flags]Global flags
-h, --help: Display help information for the command.
--db-url string: PostgreSQL connection URL (defaults to value of AGENT_REGISTRY_DATABASE_URL env var).
--source string: Migration source name for per-source ops (down/goto/force/version); inferred when only one source is registered. Not applicable to up or status — those aggregate across every registered source.