From 127b97f378d697c406e184d28c736c40f4028c72 Mon Sep 17 00:00:00 2001 From: JunFeng Wu Date: Thu, 24 Nov 2022 16:02:26 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8Dpgsql=E9=80=89=E6=8B=A9?= =?UTF-8?q?=E9=A9=BC=E5=B3=B0=E8=A7=84=E5=88=99=E5=BB=BA=E8=A1=A8=E6=B7=BB?= =?UTF-8?q?=E5=8A=A0remark=E6=B3=A8=E9=87=8A=E6=97=B6=E6=8A=A5=E9=94=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../PostgreSQL/DbMaintenance/PostgreSQLDbMaintenance.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Src/Asp.NetCore2/SqlSugar/Realization/PostgreSQL/DbMaintenance/PostgreSQLDbMaintenance.cs b/Src/Asp.NetCore2/SqlSugar/Realization/PostgreSQL/DbMaintenance/PostgreSQLDbMaintenance.cs index 0dc2c06fc..7f3b73ae7 100644 --- a/Src/Asp.NetCore2/SqlSugar/Realization/PostgreSQL/DbMaintenance/PostgreSQLDbMaintenance.cs +++ b/Src/Asp.NetCore2/SqlSugar/Realization/PostgreSQL/DbMaintenance/PostgreSQLDbMaintenance.cs @@ -256,7 +256,7 @@ namespace SqlSugar public override bool AddColumnRemark(string columnName, string tableName, string description) { tableName = this.SqlBuilder.GetTranslationTableName(tableName); - string sql = string.Format(this.AddColumnRemarkSql, columnName, tableName, description); + string sql = string.Format(this.AddColumnRemarkSql, this.SqlBuilder.GetTranslationColumnName(columnName.ToLower(isAutoToLowerCodeFirst)), tableName, description); this.Context.Ado.ExecuteCommand(sql); return true; }