Browse Source
Merge pull request #1105 from wuuer/master
修复pgsql选择驼峰规则建表添加remark注释时报错
pull/27/head
果糖网
2 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
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; |
|
|
|
} |
|
|
|