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. |