pocketbase-mcp-server

migrate_collection

Migrate database collection schemas while preserving data, enabling field transformations and seamless schema updates for PocketBase databases using the MCP protocol.

Instructions

Migrate collection schema with data preservation

Input Schema

NameRequiredDescriptionDefault
collectionYesCollection name
dataTransformsNoField transformation mappings
newSchemaYesNew collection schema

Input Schema (JSON Schema)

{ "properties": { "collection": { "description": "Collection name", "type": "string" }, "dataTransforms": { "description": "Field transformation mappings", "type": "object" }, "newSchema": { "description": "New collection schema", "items": { "properties": { "name": { "type": "string" }, "options": { "type": "object" }, "required": { "type": "boolean" }, "type": { "type": "string" } }, "type": "object" }, "type": "array" } }, "required": [ "collection", "newSchema" ], "type": "object" }

You must be authenticated.

Other Tools from pocketbase-mcp-server

Related Tools

ID: z2xjuegxxh