PocketBase MCP Server

by mabeldata
Verified

revert_to_migration

Reverts database schema migrations up to a specified target using applied migration filenames, allowing precise control over schema rollbacks in PocketBase MCP Server.

Instructions

Revert migrations up to a specific target.

Input Schema

NameRequiredDescriptionDefault
appliedMigrationsNoArray of already applied migration filenames.
targetMigrationYesName of the migration to revert to (exclusive). Use empty string to revert all.

Input Schema (JSON Schema)

{ "properties": { "appliedMigrations": { "description": "Array of already applied migration filenames.", "items": { "type": "string" }, "type": "array" }, "targetMigration": { "description": "Name of the migration to revert to (exclusive). Use empty string to revert all.", "type": "string" } }, "required": [ "targetMigration" ], "type": "object" }
ID: llc3xla20m