Examples
Use the examples section when you want a working starting point instead of an abstract reference page.
Pick by situation
Section titled “Pick by situation”- First production-style rehearsal: MySQL minimal-safe, MariaDB minimal-safe, SQLite minimal-safe, MSSQL minimal-safe
- Fast disposable reloads: MySQL recreate-fast, SQLite recreate-fast, MSSQL recreate-fast
- Large or interruption-prone runs: MySQL chunked-resume, SQLite chunked-resume
- Controlled sequencing: schema-only and data-only patterns
- Hook-driven follow-up SQL: MySQL hooks, SQLite hooks
Browse by source
Section titled “Browse by source”What each example page includes
Section titled “What each example page includes”- when to use it
- tradeoffs
- a copy-pasteable
migration.toml - SQL hook snippets where relevant
- the exact command to run
- a link back to the raw files in GitHub
Before you run an example
Section titled “Before you run an example”- Replace the source and target DSNs with your real endpoints.
- Run
pgferry plan migration.tomlfirst. - Read the matching guide for source-specific constraints.
- Decide whether you want the safe path, the fast disposable path, or the resumable path before you start editing flags.