Supabase Auth

apply_migration

Applies a migration to the database. Use this when executing DDL operations. Do not hardcode references to generated IDs in data migrations.

Remote Supabase

Other tools also called apply_migration? See providers with this name

Input Schema


            {
  "type": "object",
  "properties": {
    "name": {
      "type": "string",
      "description": "The name of the migration in snake_case"
    },
    "query": {
      "type": "string",
      "description": "The SQL query to apply"
    },
    "project_id": {
      "type": "string"
    }
  }
}