sql writer
This commit is contained in:
2
pkg/writers/pgsql/templates/create_index.tmpl
Normal file
2
pkg/writers/pgsql/templates/create_index.tmpl
Normal file
@@ -0,0 +1,2 @@
|
||||
CREATE {{if .Unique}}UNIQUE {{end}}INDEX IF NOT EXISTS {{.IndexName}}
|
||||
ON {{.SchemaName}}.{{.TableName}} USING {{.IndexType}} ({{.Columns}});
|
||||
Reference in New Issue
Block a user