mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-05-09 15:17:57 +08:00
Update quest db unique index
This commit is contained in:
parent
fa5109cc7d
commit
fcc567aa26
@ -221,7 +221,7 @@ namespace SqlSugar
|
|||||||
{
|
{
|
||||||
foreach (var item in entityInfo.Indexs)
|
foreach (var item in entityInfo.Indexs)
|
||||||
{
|
{
|
||||||
CreateIndex(entityInfo.DbTableName, item.IndexFields.Select(it => it.Key).ToArray());
|
CreateIndex(entityInfo.DbTableName, item.IndexFields.Select(it => it.Key).ToArray(),item.IsUnique);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user