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:

  1. Write ONE migration at a time
  2. Execute immediately with mise run migrate
  3. Verify it worked with mise run show-collections
  4. Only then write the next migration
  5. Run mise run backup before destructive changes

Never write multiple migrations without running them between each one.

Migration Structure

Installs
First Seen
pocketbase-migrations — smithery/ai