fixed hand error2

This commit is contained in:
fanybook 2021-11-05 15:43:08 +08:00
parent c9a1093af6
commit b1d6ec1db5
1 changed files with 1 additions and 1 deletions

View File

@ -685,7 +685,7 @@ func (db *mysql) CreateTableSQL(ctx context.Context, queryer core.Queryer, table
b.WriteString(db.rowFormat) b.WriteString(db.rowFormat)
} }
if table.Comment != "" { if table.Comment != "" {
b.WriteString(" COMMENT='") b.WriteString(" COMMENT='")
b.WriteString(table.Comment) b.WriteString(table.Comment)
b.WriteString("'") b.WriteString("'")