Skip to content

Commit

Permalink
update: pgsql恢复default,过滤包含::的default
Browse files Browse the repository at this point in the history
  • Loading branch information
zodial committed Nov 21, 2024
1 parent 9419126 commit cdb5716
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions console/commands/pgorm/pgsql.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit cdb5716

Please sign in to comment.