mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-25 10:59:18 +08:00
committed by
Sébastien Ros
parent
86ec07007f
commit
5361b29a9c
@@ -87,5 +87,18 @@ namespace Orchard.Taxonomies {
|
||||
|
||||
return 5;
|
||||
}
|
||||
|
||||
public int UpdateFrom5() {
|
||||
SchemaBuilder.AlterTable("TermContentItem", table => table
|
||||
.CreateIndex("IDX_TermsPartRecord_id", "TermsPartRecord_id")
|
||||
);
|
||||
return 6;
|
||||
}
|
||||
public int UpdateFrom6() {
|
||||
SchemaBuilder.AlterTable("TermContentItem", table => table
|
||||
.CreateIndex("IDX_TermsPartRecord_id_Field", "TermsPartRecord_id", "Field")
|
||||
);
|
||||
return 7;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user