mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-07-31 20:01:11 +08:00
Fixing migrations for Navigation
--HG-- branch : 1.x
This commit is contained in:
parent
b8ac104474
commit
59998945d5
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user