Skip to content
This repository was archived by the owner on Sep 7, 2021. It is now read-only.
This repository is currently being migrated. It's locked while the migration is in progress.

Commit ce804ae

Browse files
宋小北BetaCat0
authored andcommitted
Unknown colType DOUBLE UNSIGNED (#1274)
1 parent 8557fec commit ce804ae

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

dialect_mysql.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -393,6 +393,9 @@ func (db *mysql) GetColumns(tableName string) ([]string, map[string]*core.Column
393393
if colType == "FLOAT UNSIGNED" {
394394
colType = "FLOAT"
395395
}
396+
if colType == "DOUBLE UNSIGNED" {
397+
colType = "DOUBLE"
398+
}
396399
col.Length = len1
397400
col.Length2 = len2
398401
if _, ok := core.SqlTypes[colType]; ok {

0 commit comments

Comments
 (0)