---
title: thv-registry-api migrate up
hide_title: true
description: Reference for ToolHive Registry API CLI command `thv-registry-api migrate up`
last_update:
  author: autogenerated
slug: thv-registry-api_migrate_up
mdx:
  format: md
---

## thv-registry-api migrate up

Apply pending database migrations

### Synopsis

Apply all pending database migrations to bring the schema up to date.
This command will read the database connection parameters from the config file
and apply all migrations that haven't been run yet.

```
thv-registry-api migrate up [flags]
```

### Options

```
  -h, --help   help for up
```

### Options inherited from parent commands

```
      --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
```

### SEE ALSO

* [thv-registry-api migrate](thv-registry-api_migrate.md)	 - Database migration tool

