Fix test
This commit is contained in:
parent
becdd74179
commit
002d6a3f6a
|
@ -328,7 +328,7 @@ func (db *mssql) SQLType(c *schemas.Column) string {
|
|||
res = schemas.Int
|
||||
case schemas.Text, schemas.MediumText, schemas.TinyText, schemas.LongText, schemas.Json:
|
||||
res = db.defaultVarchar + "(MAX)"
|
||||
case schemas.Double:
|
||||
case schemas.Double, schemas.UnsignedFloat:
|
||||
res = schemas.Real
|
||||
case schemas.Uuid:
|
||||
res = schemas.Varchar
|
||||
|
|
|
@ -917,7 +917,7 @@ func (db *postgres) SQLType(c *schemas.Column) string {
|
|||
return schemas.Uuid
|
||||
case schemas.Blob, schemas.TinyBlob, schemas.MediumBlob, schemas.LongBlob:
|
||||
return schemas.Bytea
|
||||
case schemas.Double:
|
||||
case schemas.Double, schemas.UnsignedFloat:
|
||||
return "DOUBLE PRECISION"
|
||||
default:
|
||||
if c.IsAutoIncrement {
|
||||
|
|
Loading…
Reference in New Issue