mirror of
https://github.com/go-home-admin/toolset.git
synced 2025-12-24 13:37:52 +08:00
update: pgsql恢复default,过滤包含::的default
This commit is contained in:
@@ -252,9 +252,6 @@ func getImports(infos map[string]orm.TableInfos, tableColumns map[string][]table
|
||||
|
||||
func genOrmStruct(table string, columns []tableColumn, conf Conf, relationships []*orm.Relationship) string {
|
||||
TableName := parser.StringToHump(table)
|
||||
if TableName == "Tests" {
|
||||
fmt.Println("a")
|
||||
}
|
||||
config := services.NewConfig(conf)
|
||||
deletedField := config.GetString("deleted_field")
|
||||
hasField := make(map[string]bool)
|
||||
|
||||
Reference in New Issue
Block a user