Skip to content

Examples

Reach for the examples when you’d rather start from something that already works than from an abstract reference page.

  • 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
  1. Replace the source and target DSNs with your real endpoints.
  2. Run pgferry plan migration.toml first.
  3. Read the matching guide for source-specific constraints.
  4. Decide whether you want the safe path, the fast disposable path, or the resumable path before you start editing flags.