pgdesign v0.26.0 /pgdesign generate
On this page

Reference for the pgdesign generate command — usage, flags, arguments, and examples for the generate subcommand of the pgdesign CLI.

#pgdesign generate

Generate SQL DDL from TOML schema file(s) or directory

Effect: read_only

#Flags

Flags
NameShortTypeDefaultEnvDescription
--idempotentboolAdd IF NOT EXISTS guards to all generated DDL statements
--commentsboolTrueInclude COMMENT ON statements in the generated output
--formatstrsqlOutput format for the generated schema representation
--strict-nfboolPromote normal form violations to errors instead of warnings

#Arguments

Arguments
NameRequiredDescription
pathyesPath to TOML schema file(s) or directory containing them
Search