Plan and implement requested schema migrations and backfills across supported application versions, with bounded operations, recovery and data-integrity verification.
Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Database Migrations?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/najuaircrack-database-migrations)
---
name: database-migrations
description: "Plan and implement requested schema migrations and backfills across supported application versions, with bounded operations, recovery and data-integrity verification."
license: MIT
---
# Migration boundaries
Inspect the owning database, migration runner, current schema, affected queries and supported application versions. Treat a generated migration as a proposal until its SQL and operational effects are reviewed. Keep schema assumptions distinct from observed database state.
When old and new application versions coexist, use an appropriate expand, migrate and contract sequence. Make backfills bounded, resumable and idempotent where required. Consider locks, indexes, transaction duration, uniqueness, nullability and partial failure on the actual database engine.
Validate existing data before enforcing a constraint. Define how conflicting or incomplete rows are accounted for; do not silently discard them. A rollback that restores a column definition may not recover transformed or deleted data. State the real recovery boundary and backup dependency.
Exercise forward application, relevant retry or interruption and supported recovery on isolated data. Verify through the application's actual reads and writes. Local migration files or a test database do not authorize a production change or establish production rollout safety.