提交注释
This commit is contained in:
parent
7b68be0cc3
commit
46928a07ba
|
@ -377,6 +377,7 @@ func (session *Session) Sync(beans ...interface{}) error {
|
|||
}
|
||||
}
|
||||
} else if col.Comment != oriCol.Comment {
|
||||
// only postgres dialect implement update comment now.
|
||||
if engine.dialect.URI().DBType == schemas.POSTGRES {
|
||||
_, err = session.exec(engine.dialect.ModifyColumnSQL(tbNameWithSchema, col))
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue