From 8e2ce8c53d7eef7378b18324e202d29ef34661b0 Mon Sep 17 00:00:00 2001 From: brookechen Date: Fri, 19 May 2023 17:37:27 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4=E6=B3=A8=E9=87=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- session_schema.go | 1 + 1 file changed, 1 insertion(+) diff --git a/session_schema.go b/session_schema.go index 2c92700c..15fa1472 100644 --- a/session_schema.go +++ b/session_schema.go @@ -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)) }