Fix mssql
This commit is contained in:
parent
0004399bbf
commit
3460c0fd04
|
@ -560,7 +560,7 @@ func (engine *Engine) dumpTables(tables []*schemas.Table, w io.Writer, tp ...sch
|
||||||
if stp.IsNumeric() {
|
if stp.IsNumeric() {
|
||||||
s := scanResult.(*sql.NullString)
|
s := scanResult.(*sql.NullString)
|
||||||
if s.Valid {
|
if s.Valid {
|
||||||
if _, err = io.WriteString(w, s.String); err != nil {
|
if _, err = io.WriteString(w, formatBool(s.String, dstDialect)); err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in New Issue