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>

devOAuth1 credits

Call information

Tool slug
mcp-server-neon.complete_database_migration
Provider
Neon
Average response
0 ms
Calls in 7 days
0

Input parameters

migration_idrequired

The migration ID from prepare_database_migration.

migration_sqlrequired

The SQL statements to apply. Pass the exact value from prepare_database_migration.

database_namerequired

The database name. Pass the exact value from prepare_database_migration.

project_id

The 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_idrequired

The temporary branch ID to delete after migration.

parent_branch_idrequired

The parent branch ID where migration will be applied.

apply_changes

Whether to apply the migration. Set to false to just delete the temp branch without applying.