dpg log

dpg log

Repair and rebase the migration log

Synopsis

The migration log records every migration of each database (RFC Section 16.8). These commands repair it after a merge.

Options

  -h, --help   help for log

Options inherited from parent commands

  -C, --dir string   project root directory (default: current working directory)
      --env string   path to .env file (default: .env in project root, if present)

SEE ALSO

  • dpg - Declarative PG — schema compiler and migration tool
  • dpg log rebase - Resolve two migrations after the same one (a merge of two branches)
  • dpg log repair - Rewrite the snapshot from the migration log
Auto generated by spf13/cobra on 12-Oct-2026