dpg verify
dpg verify
Check the live database for drift against the snapshot
Synopsis
Introspects the live database catalog and compares it against the committed snapshot. Reports any objects that differ from the declared state (drift).
Exits 0 when no drift is detected. Exits 1 when drift is found.
dpg verify [flags]
Options
--cluster string cluster to verify (required when multiple clusters exist)
--database string database to verify (required when multiple databases exist)
-h, --help help for verify
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