pocketbase-api-add-field
Installation
SKILL.md
PocketBase API Add Field
This skill provides comprehensive guidance for programmatically adding fields to existing PocketBase collections using the JavaScript SDK API. It enables developers to modify collection schemas without using the Admin UI, making it ideal for automated migrations, deployment scripts, and programmatic database schema updates.
When to Use This Skill
Use this skill when you need to:
- Add new fields to existing PocketBase collections programmatically
- Create automated schema migration scripts
- Update collection schemas without using the Admin UI
- Implement field additions in deployment pipelines
- Perform bulk schema modifications across multiple collections
- Integrate schema changes into custom applications or tools
Prerequisites
Install PocketBase JavaScript SDK
Install the PocketBase SDK if not already available: