Synchronization code

This commit is contained in:
sunkaixuan
2024-07-13 11:32:28 +08:00
parent e94d908f15
commit 3c0a45fada

View File

@@ -465,6 +465,10 @@ WHERE EVENT_OBJECT_TABLE = '"+tableName+"'");
}
sql = sql.Replace("$PrimaryKey", primaryKeyInfo);
if (!string.IsNullOrEmpty(StaticConfig.CodeFirst_MySqlTableEngine))
{
sql += " ENGINE = " + StaticConfig.CodeFirst_MySqlTableEngine;
}
this.Context.Ado.ExecuteCommand(sql);
return true;
}