Synchronization code

This commit is contained in:
sunkaixuan
2023-10-11 17:31:01 +08:00
parent a1c7a7905b
commit fcf91c87fc
2 changed files with 6 additions and 1 deletions

View File

@@ -344,6 +344,11 @@ namespace SqlSugar
include=Regex.Match( item.IndexName,@"\{include\:.+$").Value;
item.IndexName = item.IndexName.Replace(include, "");
}
if (item.IndexName.Contains(".")&& item.IndexName.Contains("["))
{
item.IndexName = item.IndexName.Replace(".","_");
item.IndexName = item.IndexName.Replace("[", "").Replace("]", "");
}
}
if (!this.Context.DbMaintenance.IsAnyIndex(item.IndexName))
{

View File

@@ -2,7 +2,7 @@
<package >
<metadata>
<id>SqlSugarCore</id>
<version>5.1.4.110</version>
<version>5.1.4.111-preview04</version>
<authors>sunkaixuan</authors>
<owners>果糖大数据科技</owners>
<licenseUrl>http://www.apache.org/licenses/LICENSE-2.0.html</licenseUrl>