mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-12-05 11:27:41 +08:00
Update Doris
This commit is contained in:
@@ -565,6 +565,10 @@ WHERE EVENT_OBJECT_TABLE = '" + tableName + "'");
|
|||||||
{
|
{
|
||||||
sql = $"{sql}{" COMMENT '"+ columnInfo.ColumnDescription.ToSqlFilter()+ "' "}";
|
sql = $"{sql}{" COMMENT '"+ columnInfo.ColumnDescription.ToSqlFilter()+ "' "}";
|
||||||
}
|
}
|
||||||
|
if (DorisHelper.IsDoris(this.Context))
|
||||||
|
{
|
||||||
|
sql = sql.Replace(" ADD ", " ADD COLUMN ");
|
||||||
|
}
|
||||||
this.Context.Ado.ExecuteCommand(sql);
|
this.Context.Ado.ExecuteCommand(sql);
|
||||||
if (isAddNotNUll)
|
if (isAddNotNUll)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user