deploy_migration
Deploy a new database migration with SQL code and migration name. For self-hosted Supabase, use supabase_migration_new and supabase_db_push instead for reliability.
Instructions
Deploy a new database migration. NOTE: For self-hosted Supabase, consider using supabase_migration_new + supabase_db_push instead for better reliability.
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": {
"sql": "<sql>",
"name": "<name>"
},
"name": "deploy_migration"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sql | Yes | SQL migration code | |
| name | Yes | Migration name |