Adding clustered index to the UserLoginDto

This commit is contained in:
Morten Christensen
2012-12-05 07:50:05 -01:00
parent 28d9784c1b
commit fc43247a9e

View File

@@ -1,5 +1,6 @@
using System;
using Umbraco.Core.Persistence;
using Umbraco.Core.Persistence.DatabaseAnnotations;
namespace Umbraco.Core.Models.Rdbms
{
@@ -8,6 +9,7 @@ namespace Umbraco.Core.Models.Rdbms
internal class UserLoginDto
{
[Column("contextID")]
[Index(IndexTypes.Clustered, Name = "umbracoUserLogins_Index")]
public Guid ContextId { get; set; }
[Column("userID")]