com um clique
apply-migrations
Apply pending database migrations (rockhopper up)
Instalar com Codex ou Claude Copie este prompt, cole no Codex, Claude ou outro assistente e deixe que ele revise a página da skill e instale para você.
Menu
Apply pending database migrations (rockhopper up)
Instalar com Codex ou Claude Copie este prompt, cole no Codex, Claude ou outro assistente e deixe que ele revise a página da skill e instale para você.
Baseado na classificação ocupacional SOC
| name | apply-migrations |
| description | Apply pending database migrations (rockhopper up) |
| disable-model-invocation | true |
| argument-hint | ["config_file"] |
Apply pending migrations using rockhopper.
$ARGUMENTS is provided, use it as the config file path. Otherwise, find all rockhopper_*.yaml config files and ask the user which one to use.rockhopper --config <config_file> up
If up fails with an "out-of-order migrations detected" error, it means a pending migration has a lower version than one that is already applied (common after merging parallel branches). Do not blindly re-run with --allow-out-of-order. Instead:
rockhopper --config <config_file> up --allow-out-of-order, only if the older migration is independent of the newer ones.If the user needs to override the DSN or driver, remind them they can set:
ROCKHOPPER_DRIVER - database driver nameROCKHOPPER_DIALECT - SQL dialect name; one of postgres, mysql, sqlite3, tidb, redshift, clickhouseROCKHOPPER_DSN - data source name connection stringAll listed dialects support schema migrations (up/down/status). Data migrations (the lease-based backfill API) require conditional UPDATE ... RETURNING RowsAffected==1 semantics and are therefore not supported on ClickHouse, which is capability-gated and returns ErrDataMigrationUnsupported.