What to check in a database migration

Last updated

A database migration review asks whether old and new code can both run against the schema while the change rolls out, and whether you can undo it. These stable checks cover the schema change, the rollout, and the way back.

The checks

Run them

To run these checks, paste Read https://goodcodereview.com/llms.txt and use it to review my code. to your agent, or work through them by hand. Start with the change level for a migration in a diff, and the system level for the design.