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