create_collection_migration
Generate a migration file to define and create a new PocketBase collection, including its schema, fields, and rules, for structured database management.
Instructions
Create a migration file specifically for creating a new PocketBase collection.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
collectionDefinition | Yes | The full schema definition for the new collection (including name, id, fields, rules, etc.). | |
description | No | Optional description override for the filename. |
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
- @DynamicEndpoints/advanced-pocketbase-mcp-server
- @DynamicEndpoints/advanced-pocketbase-mcp-server
- @DynamicEndpoints/advanced-pocketbase-mcp-server
- @mabeldata/pocketbase-mcp