pocketbase-mcp-server

migrate_collection

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