What problem does it solve? Database migrations that lock tables, lose data, or break live traffic cause production outages. This Skill provides concrete patterns for writing migrations that are safe to run against large production tables during peak traffic. ## Core Features & Use Cases - Lock Classification: Reference tables showing which PostgreSQL and MySQL DDL operations block reads or writes and for how long. - Expand-Contract Pattern: Three-phase deployment strategy for column type changes, renames, and other breaking schema changes. - Safe Constraint and Index Patterns: NOT VALID + VALIDATE constraint workflows and CREATE INDEX CONCURRENTLY guidance, including ORM-specific gotchas for Prisma, Drizzle, Alembic, and Knex. - Use Case: Before merging a pull request that adds an index to a 50-million-row orders table, use this Skill to verify the migration uses CONCURRENTLY, has a rollback plan, and was tested against production-sized data. ## Quick Start Review this migration for production safety and tell me whether it will lock the users table under live traffic.