CREATE TABLE IF NOT EXISTS {{qual_table .SchemaName .TableName}} ( {{- range $i, $col := .Columns}} {{- if $i}},{{end}} {{quote_ident $col.Name}} {{$col.Type}} {{- if $col.Generated}} GENERATED ALWAYS AS ({{$col.Generated}}) STORED{{end}} {{- if $col.Identity}} GENERATED {{$col.Identity}} AS IDENTITY{{end}} {{- if and $col.Default (not $col.Generated) (not $col.Identity)}} DEFAULT {{$col.Default}}{{end}} {{- if $col.NotNull}} NOT NULL{{end}} {{- end}} );