Merge branch 'master' into master
This commit is contained in:
commit
1537cf3d60
|
@ -218,7 +218,7 @@ func (db *mssql) SqlType(c *core.Column) string {
|
||||||
res = core.Bit
|
res = core.Bit
|
||||||
if strings.EqualFold(c.Default, "true") {
|
if strings.EqualFold(c.Default, "true") {
|
||||||
c.Default = "1"
|
c.Default = "1"
|
||||||
} else {
|
} else if strings.EqualFold(c.Default, "false") {
|
||||||
c.Default = "0"
|
c.Default = "0"
|
||||||
}
|
}
|
||||||
case core.Serial:
|
case core.Serial:
|
||||||
|
|
Loading…
Reference in New Issue