Fix bug
This commit is contained in:
parent
8978ac5b49
commit
3bb240a13d
|
@ -581,7 +581,7 @@ func (engine *Engine) dumpTables(ctx context.Context, tables []*schemas.Table, w
|
|||
if _, err = io.WriteString(w, s.String); err != nil {
|
||||
return err
|
||||
}
|
||||
} else if stp.IsBool() {
|
||||
} else if stp.IsBool() || (dstDialect.URI().DBType == schemas.MSSQL && stp.Name == schemas.Bit) {
|
||||
if _, err = io.WriteString(w, formatBool(s.String, dstDialect)); err != nil {
|
||||
return err
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue