Migration Plan [deprecated]
https://{your-workspace-slug}.{region}.xata.sh/db/db_branch_name/migrations/plan
This endpoint enables creating a migration plan for a given database branch.
Expected parameters
Name | Description | In | Required | Schema |
---|---|---|---|---|
db_branch_name | The DBBranchName matches the pattern `{db_name}:{branch_name}`. | path | ✅ | string |
Compute Migration Plan [Deprecated]
POSThttps://{your-workspace-slug}.{region}.xata.sh/db/db_branch_name/migrations/plan
Compute a migration plan from a target schema the branch should be migrated too.