diff --git a/dialects/mysql.go b/dialects/mysql.go index 241aede8..9cc695ef 100644 --- a/dialects/mysql.go +++ b/dialects/mysql.go @@ -685,7 +685,7 @@ func (db *mysql) CreateTableSQL(ctx context.Context, queryer core.Queryer, table b.WriteString(db.rowFormat) } - if table.Comment != "" { + if table.Comment != "" { b.WriteString(" COMMENT='") b.WriteString(table.Comment) b.WriteString("'")