工具 API
complete_ database_ migration
Complete a database migration by applying changes to the main branch and cleaning up the temporary branch. <important_notes> You MUST pass ALL values from the `prepare_database_migration` response: - migrationId: The migration ID - migrationSql: The exact SQL from prepare step - databaseName: The database name - projectId: The project ID - temporaryBranchId: The temporary branch to delete - parentBranchId: The branch to apply migration to - applyChanges: Set to true to apply the migration, or false to just delete the temp branch without applying </important_notes> <workflow> 1. If applyChanges is true, applies the migration SQL to the parent branch 2. Deletes the temporary branch (cleanup) 3. Returns confirmation of the operation </workflow>
调用信息
- 工具标识
- mcp-server-neon.complete_database_migration
- 服务提供方
- Neon
- 平均响应
- 0 ms
- 近 7 天调用
- 0
输入参数
migrationId必填The migration ID from prepare_database_migration.
migrationSql必填The SQL statements to apply. Pass the exact value from prepare_database_migration.
databaseName必填The database name. Pass the exact value from prepare_database_migration.
projectId必填The project ID. Pass the exact value from prepare_database_migration.
temporaryBranchId必填The temporary branch ID to delete after migration.
parentBranchId必填The parent branch ID where migration will be applied.
applyChangesWhether to apply the migration. Set to false to just delete the temp branch without applying.