mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-15 19:54:57 +08:00
Fixing migrations for Navigation
--HG-- branch : 1.x
This commit is contained in:
@@ -52,6 +52,16 @@ namespace Orchard.Core.Navigation {
|
||||
.WithSetting("Stereotype", "Widget")
|
||||
);
|
||||
|
||||
SchemaBuilder.CreateTable("AdminMenuPartRecord",
|
||||
table => table
|
||||
.ContentPartRecord()
|
||||
.Column<string>("AdminMenuText")
|
||||
.Column<string>("AdminMenuPosition")
|
||||
.Column<bool>("OnAdminMenu")
|
||||
);
|
||||
|
||||
ContentDefinitionManager.AlterPartDefinition("AdminMenuPart", builder => builder.Attachable());
|
||||
|
||||
return 3;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user