Migrations

Lifecycle directives, linting, and drift detection.
PageDescription
Lifecycle DirectivesRENAMED FROM, DEPRECATED, PROTECTED, DROP CASCADE, MIGRATE REMOVE
LintingBuilt-in static analysis rules and configuration
Drift DetectionHow dpg verify compares live state to the snapshot, and resolving drift with dpg resolve

Lifecycle Directives

RENAMED FROM, DEPRECATED, PROTECTED, DROP CASCADE, and MIGRATE REMOVE — DPG-specific annotations that drive safe multi-step migrations.

Linting

Built-in static analysis rules, severity levels, and dpg.toml configuration.

Drift Detection

How dpg verify compares the live database with the committed snapshot and reports changes made outside DPG.