ALTER TABLE {{qual_table .SchemaName .TableName}} ADD COLUMN IF NOT EXISTS {{quote_ident .ColumnName}} {{.ColumnType}} {{- if .Generated}} GENERATED ALWAYS AS ({{.Generated}}) STORED{{end}} {{- if .Identity}} GENERATED {{.Identity}} AS IDENTITY{{end}} {{- if and .Default (not .Generated) (not .Identity)}} DEFAULT {{.Default}}{{end}} {{- if .NotNull}} NOT NULL{{end}};