TOOL 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>
Call information
- Tool slug
- mcp-server-neon.complete_database_migration
- Provider
- Neon
- Average response
- 0 ms
- Calls in 7 days
- 0
Input parameters
migration_idrequiredThe migration ID from prepare_database_migration.
migration_sqlrequiredThe SQL statements to apply. Pass the exact value from prepare_database_migration.
database_namerequiredThe database name. Pass the exact value from prepare_database_migration.
project_idThe project ID. Pass the exact value from prepare_database_migration. Required for an unscoped connection. May be omitted when the connection is scoped to one project; if provided, it must match that project.
temporary_branch_idrequiredThe temporary branch ID to delete after migration.
parent_branch_idrequiredThe parent branch ID where migration will be applied.
apply_changesWhether to apply the migration. Set to false to just delete the temp branch without applying.