Commit b382d17e by Utkarsh Bhatnagar Committed by Torkel Ödegaard

Fixed alerting bug for mysql (#6375)

parent b45bd070
......@@ -30,7 +30,10 @@ func (db *Mysql) AutoIncrStr() string {
}
func (db *Mysql) BooleanStr(value bool) string {
return strconv.FormatBool(value)
if value {
return "1"
}
return "0"
}
func (db *Mysql) SqlType(c *Column) string {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment