Tags: added index on ContentTagRecord table. (#7591)

This commit is contained in:
GiuseppeMusso-Laser
2017-03-09 21:14:28 +01:00
committed by Sébastien Ros
parent 9ec312a1c3
commit 134bac44c3

View File

@@ -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")]