Refactor RandomizeField
* Fix randomize arg in relationship helper * Fix param name for RandomizeStruct
This commit is contained in:
parent
6a040bc11c
commit
75e28d3f5b
3 changed files with 247 additions and 160 deletions
bdb/drivers
|
@ -274,7 +274,7 @@ func (p *PostgresDriver) TranslateColumnType(c bdb.Column) bdb.Column {
|
|||
c.Type = "null.Float64"
|
||||
case "real":
|
||||
c.Type = "null.Float32"
|
||||
case "bit", "interval", "uuint", "bit varying", "character", "character varying", "cidr", "inet", "json", "macaddr", "text", "uuid", "xml":
|
||||
case "bit", "interval", "bit varying", "character", "character varying", "cidr", "inet", "json", "macaddr", "text", "uuid", "xml":
|
||||
c.Type = "null.String"
|
||||
case "bytea":
|
||||
c.Type = "[]byte"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue