원클릭으로
create-migration
Create new SQL migration files for multiple database dialects (sqlite, mysql, etc.)
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Create new SQL migration files for multiple database dialects (sqlite, mysql, etc.)
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
| name | create-migration |
| description | Create new SQL migration files for multiple database dialects (sqlite, mysql, etc.) |
| disable-model-invocation | true |
| allowed-tools | Bash |
| argument-hint | ["migration_name"] |
Create new migration files named $ARGUMENTS for all configured database dialects.
Run the wrapper script:
bash scripts/create-migration.sh $ARGUMENTS
If the script is not found, fall back to finding all rockhopper_*.yaml config files and running rockhopper --config <config> create --type sql $ARGUMENTS for each.
After creation, list the newly created files and remind the user to edit all migration files since each dialect may need different SQL syntax.
-- @package packagename
-- +up
CREATE TABLE example (id INT PRIMARY KEY);
-- +down
DROP TABLE example;
For multi-statement blocks, use -- +begin / -- +end. Use -- !txn to disable transaction wrapping.
SOC 직업 분류 기준
Apply pending database migrations (rockhopper up)
Compile SQL migration files into Go source code for embedding in binaries
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