| title | thv-registry-api migrate | ||
|---|---|---|---|
| hide_title | true | ||
| description | Reference for ToolHive Registry API CLI command `thv-registry-api migrate` | ||
| last_update |
|
||
| slug | thv-registry-api_migrate | ||
| mdx |
|
Database migration tool
Database migration tool for managing schema versions. Use with 'up' or 'down' subcommands.
thv-registry-api migrate [flags]
--config string Path to configuration file (YAML format, required)
-h, --help help for migrate
-n, --num-steps uint Number of steps to migrate (0 = all)
-y, --yes Answer yes to all questions
--debug Enable debug mode
- thv-registry-api - ToolHive Registry API server
- thv-registry-api migrate down - Revert database migrations
- thv-registry-api migrate up - Apply pending database migrations