dpg log repair
dpg log repair
Rewrite the snapshot from the migration log
Synopsis
Rewrites each snapshot as the replay of its migration log: the snapshot is derived from the log, so a merge conflict in it is resolved by keeping the log’s entries and running this.
dpg log repair [flags]
Options
--cluster string cluster (required when multiple clusters exist)
--database string database (required when multiple databases exist)
-h, --help help for repair
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 log - Repair and rebase the migration log