| title | thv-registry-api migrate down | ||
|---|---|---|---|
| hide_title | true | ||
| description | Reference for ToolHive Registry API CLI command `thv-registry-api migrate down` | ||
| last_update |
|
||
| slug | thv-registry-api_migrate_down | ||
| mdx |
|
Revert database migrations
Revert database migrations by rolling back changes. WARNING: This operation may result in data loss. Use with caution.
By default, this command requires the --num-steps flag to specify how many migrations to revert. This is a safety measure to prevent accidental data loss.
thv-registry-api migrate down [flags]
-h, --help help for down
--config string Path to configuration file (YAML format, required)
--debug Enable debug mode
-n, --num-steps uint Number of steps to migrate (0 = all)
-y, --yes Answer yes to all questions
- thv-registry-api migrate - Database migration tool