fix(sql): Add boolstr to all dialects

closes #6116
This commit is contained in:
bergquist
2016-09-23 09:36:15 +02:00
parent 521b5cf014
commit e5c64732f1
7 changed files with 20 additions and 3 deletions
@@ -29,6 +29,10 @@ func (db *Mysql) AutoIncrStr() string {
return "AUTO_INCREMENT"
}
func (db *Mysql) BooleanStr(value bool) string {
return strconv.FormatBool(value)
}
func (db *Mysql) SqlType(c *Column) string {
var res string
switch c.Type {