supabase_run_sql
Execute SQL on the project for schema changes and migrations, requiring human approval for destructive statements to prevent data loss.
Instructions
Run SQL on the project (schema/migration) — LIVE write, human approval. Destructive statements (DROP, TRUNCATE, ALTER … DROP, GRANT/REVOKE on auth, DELETE/UPDATE without WHERE) always need approval.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | Yes | ||
| sql | Yes | ||
| approval_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||