工具 API

complete_database_migration

Apply or discard a prepared migration and delete the temporary branch. NEVER run autonomously; always ask the user first. Pass migration_id, migration_sql, database_name, project_id, temporary_branch_id, and parent_branch_id from prepare_database_migration. Set apply_changes false to discard; omitting it applies the migration.

devOAuth1 积分

调用信息

工具标识
mcp-server-neon.complete_database_migration
服务提供方
Neon
平均响应
0 ms
近 7 天调用
0

输入参数

migration_id必填

The migration ID from prepare_database_migration.

migration_sql必填

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

database_name必填

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_id必填

The temporary branch ID to delete after migration.

parent_branch_id必填

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.