Compare branch schemas.
https://{your-workspace-slug}.{region}.xata.sh/db/db_branch_name/schema/compare/branch_name
Compare the schema of any 2 branches.
Expected parameters
Name | Description | In | Required | Schema |
---|---|---|---|---|
db_branch_name | The DBBranchName matches the pattern `{db_name}:{branch_name}`. | path | ✅ | string |
branch_name | The Database Name | path | ✅ | string |
Compare Branch Schemas.
POSThttps://{your-workspace-slug}.{region}.xata.sh/db/db_branch_name/schema/compare/branch_name