Java Database Migration Safety

Use this skill when statically reviewing a Flyway or Liquibase schema-migration PR for rolling or blue-green deploy safety — immutable applied-migration discipline (checksum/history-table drift on an edited already-applied migration), expand-contract phasing for column/table drops and renames, destructive DDL (drop column/table, type narrowing, NOT NULL without a default on a populated table) landing in the same release that stops using it, long-locking DDL on large tables, out-of-order migrations, non-idempotent repeatable migrations, and a stated rollback/backfill plan. Trigger when a user provides migration scripts or changelogs, a schema diff, or asks whether a migration is safe to ship, safe to roll back, or safe to run alongside an older application version during rollout. Reads migration files and sanitized schema/config only; it never opens a database connection, runs a migration, or queries live schema state.

VincentChuWaiChow 9b041d7 5 files · 26.1 KB Updated

File contents

VincentChuWaiChow/vanguard-frontier-agentic/tree/main/skills/java/java-database-migration-safety commit 9b041d7e30

Frequently asked questions

npx skillmds@latest add vincentchuwaichow/java-database-migration-safety