CREATE TABLE IF NOT EXISTS {{quote_ident .SchemaName}}.{{quote_ident .TableName}} ( {{- range $i, $col := .Columns}} {{- if $i}},{{end}} {{quote_ident $col.Name}} {{$col.Type}} {{- if $col.Default}} DEFAULT {{$col.Default}}{{end}} {{- if $col.NotNull}} NOT NULL{{end}} {{- end}} );