Fix tests
This commit is contained in:
parent
9cd8d8ff2c
commit
8978ac5b49
|
@ -569,6 +569,9 @@ func (db *dameng) SQLType(c *schemas.Column) string {
|
||||||
return "BIGINT"
|
return "BIGINT"
|
||||||
case schemas.Bit, schemas.Bool:
|
case schemas.Bit, schemas.Bool:
|
||||||
return schemas.Bit
|
return schemas.Bit
|
||||||
|
case schemas.Uuid:
|
||||||
|
res = schemas.Varchar
|
||||||
|
c.Length = 40
|
||||||
case schemas.Binary:
|
case schemas.Binary:
|
||||||
if c.Length == 0 {
|
if c.Length == 0 {
|
||||||
return schemas.Binary + "(MAX)"
|
return schemas.Binary + "(MAX)"
|
||||||
|
|
Loading…
Reference in New Issue