Fix tests

This commit is contained in:
Lunny Xiao 2021-08-05 01:11:45 +08:00
parent 9cd8d8ff2c
commit 8978ac5b49
1 changed files with 3 additions and 0 deletions

View File

@ -569,6 +569,9 @@ func (db *dameng) SQLType(c *schemas.Column) string {
return "BIGINT"
case schemas.Bit, schemas.Bool:
return schemas.Bit
case schemas.Uuid:
res = schemas.Varchar
c.Length = 40
case schemas.Binary:
if c.Length == 0 {
return schemas.Binary + "(MAX)"