fix null.Int64 when it is signed
This commit is contained in:
parent
9dd03ac6a8
commit
f0f386e97b
1 changed files with 1 additions and 1 deletions
|
@ -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"
|
||||||
|
|
Loading…
Add table
Reference in a new issue