mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2026-02-09 09:16:41 +08:00
Added table index to DistributedLockRecord.
This commit is contained in:
@@ -14,6 +14,10 @@ namespace Orchard.Tasks.Locking.Migrations {
|
|||||||
.Column<DateTime>("CreatedUtc")
|
.Column<DateTime>("CreatedUtc")
|
||||||
.Column<DateTime>("ValidUntilUtc"));
|
.Column<DateTime>("ValidUntilUtc"));
|
||||||
|
|
||||||
|
SchemaBuilder.AlterTable("DistributedLockRecord", table => {
|
||||||
|
table.CreateIndex("IDX_DistributedLockRecord_Name_ValidUntilUtc_Count", "Name", "ValidUntilUtc", "Count");
|
||||||
|
});
|
||||||
|
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user