For the complete documentation index, see llms.txt. Markdown versions of all docs pages are available by appending .md to any docs URL.

arctl db migrate force

Page as Markdown

Mark version V as applied without running its SQL.

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)
    --registry-token string   Registry bearer token (defaults to value of ARCTL_API_TOKEN env var)
    --registry-url string     Registry URL (overrides ARCTL_API_BASE_URL env var; defaults to http://localhost:12121)

See also