diff --git a/dialect_mysql.go b/dialect_mysql.go index 9f5ae3b2..31240c71 100644 --- a/dialect_mysql.go +++ b/dialect_mysql.go @@ -393,6 +393,9 @@ func (db *mysql) GetColumns(tableName string) ([]string, map[string]*core.Column if colType == "FLOAT UNSIGNED" { colType = "FLOAT" } + if colType == "DOUBLE UNSIGNED" { + colType = "DOUBLE" + } col.Length = len1 col.Length2 = len2 if _, ok := core.SqlTypes[colType]; ok {