database-migrations
database migrations
What it does
- Creating or altering database tables
- Adding/removing columns or indexes
- Running data migrations (backfill, transform)
- Planning zero-downtime schema changes
- Setting up migration tooling for a new project
- [ ] Migration has both UP and DOWN (or is explicitly marked irreversible)
- [ ] No full table locks on large tables (use concurrent operations)
Requirements & configuration
- BAD: NOT NULL without default on existing table (requires full rewrite)
- Most migration tools need special handling for this
Configuration: DATABASE_URL
Derived from the skill's own SKILL.md documentation · extracted 2026-07-23
database-migrations FAQ
What does the database-migrations skill do?
Database migration best practices for schema changes, data migrations, rollbacks, and zero-downtime deployments across PostgreSQL, MySQL, and common ORMs (Prisma, Drizzle, Kysely, Django, TypeORM, golang-migrate). Creating or altering database tables Adding/removing columns or indexes
What does database-migrations require?
BAD: NOT NULL without default on existing table (requires full rewrite) Most migration tools need special handling for this Configuration keys: DATABASE_URL.
How do I install database-migrations?
Run: npx -y skills add https://github.com/affaan-m/everything-claude-code --skill database-migrations --agent claude-code — the source lives at github.com/affaan-m/everything-claude-code.
Maintain database-migrations?
Let people know it's listed here — add the badge (live metrics, light/dark aware) or a plain link to your README or docs.
[](https://getagentictools.com/skills/affaan-m-everything-claude-code-database-migrations?ref=badge) npx agentictools info skills/affaan-m-everything-claude-code-database-migrations The second line is the CLI lookup for this page — handy in READMEs and docs.