add_field_migration
Generate a migration file to add a new field to an existing collection in PocketBase. Specify the collection name or ID and define the field schema for automated integration.
Instructions
Create a migration file for adding a field to an existing collection.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
collectionNameOrId | Yes | The name or ID of the collection to update. | |
description | No | Optional description override for the filename. | |
fieldDefinition | Yes | The schema definition for the new field. |
Input Schema (JSON Schema)
You must be authenticated.
Other Tools from PocketBase MCP Server
- add_field_migration
- apply_all_migrations
- apply_migration
- create_collection_migration
- create_migration
- create_record
- download_file
- fetch_record
- get_collection_schema
- get_log
- get_logs_stats
- list_collections
- list_logs
- list_migrations
- list_records
- revert_migration
- revert_to_migration
- set_migrations_directory
- update_record
- upload_file
Related Tools
- @DynamicEndpoints/pocketbase-mcp-server
- @mabeldata/pocketbase-mcp
- @DynamicEndpoints/pocketbase-mcp-server
- @mabeldata/pocketbase-mcp
- @mabeldata/pocketbase-mcp