Skip to main content
Glama

PocketBase MCP Server

by mabeldata

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" }

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/mabeldata/pocketbase-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server