mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-26 20:16:15 +08:00
Merge branch 'refs/heads/1.10.x' into dev
# Conflicts: # src/Orchard/Data/Migration/AutomaticDataMigrations.cs
This commit is contained in:
@@ -28,7 +28,6 @@ namespace Orchard.DesignerTools.Handlers {
|
||||
base.GetItemMetadata(context);
|
||||
|
||||
var groupInfo = new GroupInfo(T("Shape Tracing"));
|
||||
groupInfo.Id = "ShapeTracing";
|
||||
|
||||
context.Metadata.EditorGroupInfo.Add(groupInfo);
|
||||
}
|
||||
|
||||
@@ -80,7 +80,8 @@ namespace Orchard.Data.Migration {
|
||||
/// <summary>
|
||||
/// This ensures that the framework migrations have run for the distributed locking feature, as existing Orchard installations will not have the required tables when upgrading.
|
||||
/// </summary>
|
||||
private void EnsureDistributedLockSchemaExists() {
|
||||
private void EnsureDistributedLockSchemaExists()
|
||||
{
|
||||
// Ensure the distributed lock record schema exists.
|
||||
var schemaBuilder = new SchemaBuilder(_dataMigrationInterpreter);
|
||||
var distributedLockSchemaBuilder = new DistributedLockSchemaBuilder(_shellSettings, schemaBuilder);
|
||||
@@ -93,6 +94,8 @@ namespace Orchard.Data.Migration {
|
||||
return;
|
||||
}
|
||||
|
||||
distributedLockSchemaBuilder.CreateSchema();
|
||||
|
||||
distributedLockSchemaBuilder.CreateSchema();
|
||||
_transactionManager.RequireNew();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user