fix:fmt
This commit is contained in:
parent
83937b8695
commit
b5fcde7a9a
|
@ -402,9 +402,9 @@ func (db *mysql) AddColumnSQL(tableName string, col *schemas.Column) string {
|
|||
// ModifyColumnSQL returns a SQL to modify SQL
|
||||
func (db *mysql) ModifyColumnSQL(tableName string, col *schemas.Column) string {
|
||||
s, _ := ColumnString(db.dialect, col, false, true)
|
||||
/* if col.IsAutoIncrement {
|
||||
if col.IsAutoIncrement {
|
||||
s += " " + db.AutoIncrStr()
|
||||
} */
|
||||
}
|
||||
if col.Comment != "" {
|
||||
s += fmt.Sprintf(" COMMENT '%s'", col.Comment)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue