Migration banner
kconfesor kconfesor

Migration

Development community

Description

--- description: Add a schema migration without destroying anyone's history argument-hint: [what the migration changes] allowed-tools: Bash(ls:*), Bash(sqlite3:*), Bash(go:*), Read, Write, Edit, Grep --- Add a migration for: $ARGUMENTS Read `internal/store/schema_014.sql` first. It is the worked example for the trap below. 1. Write `internal/store/schema_0NN.sql`, one higher than the highest that exists. 2. Add the `//go:embed` line and the entry in the `migrations` slice in `internal/store/s

Installation

Installs to ~/.claude/commands/kconfesor-zerg-migration.md

Terminal
mkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/kconfesor/zerg/HEAD/.claude/commands/migration.md -o ~/.claude/commands/kconfesor-zerg-migration.md

Restart Claude Code, or start a new session, for it to be picked up.

Full documentation available on GitHub

View Source Repository