원클릭으로
apply-migrations
Apply pending database migrations (rockhopper up)
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Apply pending database migrations (rockhopper up)
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Compile SQL migration files into Go source code for embedding in binaries
Create new SQL migration files for multiple database dialects (sqlite, mysql, etc.)
Show the current migration status for all configured databases
Rollback the last applied database migration (rockhopper down)
Add new database migration for the bbgo trading bot framework
| 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 nameROCKHOPPER_DSN - data source name connection string