pocketbase-migrations
Installation
SKILL.md
PocketBase Migrations
Guide for creating PocketBase migrations using the Go-based system (0.20+).
Core Workflow
Critical Migration Pattern
ALWAYS follow this workflow:
- Write ONE migration at a time
- Execute immediately with
mise run migrate - Verify it worked with
mise run show-collections - Only then write the next migration
- Run
mise run backupbefore destructive changes
Never write multiple migrations without running them between each one.