Add jet generator support for SQLite
This commit is contained in:
parent
3f7efb33eb
commit
51cad22809
8 changed files with 154 additions and 31 deletions
|
|
@ -169,8 +169,8 @@ func processTableSQLBuilder(fileTypes, dirPath string,
|
|||
}
|
||||
|
||||
func getTableSQLBuilderTemplate(dialect jet.Dialect) string {
|
||||
if dialect.Name() == "PostgreSQL" {
|
||||
return tablePostgreSQLBuilderTemplate
|
||||
if dialect.Name() == "PostgreSQL" || dialect.Name() == "SQLite" {
|
||||
return tableSQLBuilderTemplateWithEXCLUDED
|
||||
}
|
||||
|
||||
return tableSQLBuilderTemplate
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue