Tool to apply database migrations to a Supabase project. Use when you need to execute SQL schema changes, create tables, alter columns, or run other DDL/DML operations as part of a tracked migration. This is a Beta feature in the Supabase Management API.
refRequiredstringThe unique reference ID of the Supabase project (e.g., 'pamqaklsszmjzugtywow'). Found in Project Settings > General > Reference ID.
namestringA unique name for the migration to track it in the migration history. If not provided, a default name will be assigned.
queryRequiredstringThe SQL migration query to execute against the project's database. Must be at least 1 character long.
rollbackstringOptional SQL query to rollback/undo this migration if needed.
idempotency_keystringA unique key to ensure the same migration is tracked only once. If provided, prevents duplicate migrations with the same key from being applied.
dataRequiredData from the action execution
errorstringError if any occurred during the execution of the action
successfulRequiredbooleanWhether or not the action execution was successful or not
OAuth connection. Risk level 2 of 5.
Free Action
No published Skills explicitly reference this Action yet.