rollback_migration
Roll back a specific migration by version, optionally using custom down SQL to undo database changes.
Instructions
Rollback a specific migration (optionally with down SQL)
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"version": "<version>"
},
"name": "rollback_migration"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| version | Yes | Migration version to rollback | |
| down_sql | No | SQL to execute for rollback (optional) |