mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2026-02-09 09:16:41 +08:00
Tags: added index on ContentTagRecord table. (#7591)
This commit is contained in:
committed by
Sébastien Ros
parent
9ec312a1c3
commit
134bac44c3
@@ -36,6 +36,13 @@ namespace Orchard.Tags {
|
||||
|
||||
return 2;
|
||||
}
|
||||
|
||||
public int UpdateFrom2() {
|
||||
SchemaBuilder.AlterTable("ContentTagRecord", table => table
|
||||
.CreateIndex("IDX_TagsPartRecord_Id", "TagsPartRecord_Id")
|
||||
);
|
||||
return 3;
|
||||
}
|
||||
}
|
||||
|
||||
[OrchardFeature("Orchard.Tags.TagCloud")]
|
||||
|
||||
Reference in New Issue
Block a user