Skip to content

Migration Patterns

Most operators only need a handful of migration patterns. Choose one first, then refine it for your schema.

SituationStart with
First real migration, production data mattersMinimal-safe
Dev or staging database can be dropped and rebuiltRecreate-fast
Load is long enough that restart cost mattersChunked-resume
You need to inspect DDL before loading dataSchema-only and data-only
You must recreate views, routines, or cleanup SQLHooks-driven migrations