Merge branch 'ceshihao/fix-signed-bigint'

This commit is contained in:
Aaron L 2017-08-07 15:22:20 -07:00
commit 50b854ef83

View file

@ -306,7 +306,7 @@ func (m *MySQLDriver) TranslateColumnType(c bdb.Column) bdb.Column {
if unsigned { if unsigned {
c.Type = "null.Uint64" c.Type = "null.Uint64"
} else { } else {
c.Type = "null.Uint64" c.Type = "null.Int64"
} }
case "float": case "float":
c.Type = "null.Float32" c.Type = "null.Float32"