supabase_apply_migration
Apply a named, tracked SQL migration to a Supabase project's database through the Management API, enabling versioned schema changes.
Instructions
Apply a named, tracked migration to a Supabase project's database via the Management API.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sql | Yes | The migration SQL. | |
| name | Yes | Short snake_case migration name. | |
| api_key | No | Legacy token alias. | |
| project_ref | Yes | Supabase project ref. | |
| access_token | No | Optional Supabase access token. Omit to use the connected login. |