pgdesign v0.26.0 /pgdesign revise

Regenerate all outputs, chain the migration, and commit — the one-command project revision.

#pgdesign revise

Regenerate all outputs, chain the migration, and commit — the one-command project revision. Runs the PURE tier (build outputs, chain-mode migration, blocking normal-form and structural checks) and commits it, then runs the non-retroactive DB tier (live FD discovery, pg_stat workload).

Effect: mutating

#Flags

Flags
NameShortTypeDefaultEnvDescription
--dbstrPGDESIGN_DBPostgreSQL connection URL for the non-retroactive DB tier (live FD discovery, pg_stat workload). When absent, the DB tier is skipped and revise exits non-zero after committing the pure tier.
--dirstrDirectory containing the chain-format migrations project (defaults to project config migrations_dir, else migrations)
Search