Database Migration Creator

•
33
•

Generates safe, reversible database schema migrations with automated UP and DOWN scripts following strict naming and safety standards.

Database Migration Creator automates the generation of backward-compatible SQL migrations following strict project naming and safety standards. It generates timestamped migration files with complete UP and DOWN scripts, enforces safe schema patterns like non-blocking index creation and column defaults, and prevents destructive patterns like raw deletes. Ideal for backend and full-stack developers modifying schemas, this skill ensures seamless rollbacks and maintains mandatory audit columns and soft-delete fields across your database models.

主な機能

01Enforces safe database patterns including concurrent index creation and column defaults
02Prevents destructive operations like raw DELETE statements and unparameterized queries
03Automates mandatory table fields including IDs, timestamps, and soft deletes
04Generates standardized timestamped migration filenames (YYYYMMDDHHMMSS_action.sql)
05Creates paired UP forward and DOWN rollback scripts for clean rollbacks
0633 GitHub stars

ユースケース

01Generating reversible schema alterations that cleanly roll back during failed deployments
02Adding new database tables or columns with required audit fields and defaults
03Creating non-blocking database indexes and foreign key constraints in production