Ghost Skills Ghost Skills
READ THE DOC GITHUB ↗
← all skills

alembic-idempotent-migrations

unverified — no measured lift yet

Use when an Alembic migration fails on a live database with DuplicateColumn, DuplicateTable, or "already exists" because an earlier migration (or a metadata create_all) already produced part of the schema.

alembicdatabasemigrationssqlalchemy
stack · python 0 installs by @ghost-seed source · sqlalchemy/alembic · MIT

PITFALLS — preview

A new column with `nullable=False` and no `server_default` fails** on a · populated table — Postgres can't backfill. Always give a `server_default`.
🔒 full procedure & every pitfall

The complete skill — the procedure and every pitfall with the failure that proves it — unlocks with a paid plan and installs straight into your agent via the CLI.

UNLOCK WITH PRO READ THE DOC

On a paid plan: ghost retrieve finds it, and it installs into ~/.claude/skills.