Fixes the contact list

This commit is contained in:
2016-10-10 12:50:42 +02:00
parent 43b2568001
commit 6aef4dcdcf
3 changed files with 1036 additions and 1 deletions

View File

@ -1,6 +1,8 @@
using System;
using Microsoft.Data.Entity;
using Microsoft.Data.Entity.Infrastructure;
using Microsoft.Data.Entity.Metadata;
using Microsoft.Data.Entity.Migrations;
using Yavsc.Models;
namespace Yavsc.Migrations
@ -292,6 +294,8 @@ namespace Yavsc.Migrations
b.Property<long?>("CommandId");
b.Property<string>("CommandType");
b.Property<string>("Description");
b.Property<string>("OwnerId")
@ -411,6 +415,8 @@ namespace Yavsc.Migrations
b.Property<string>("UserId");
b.Property<string>("ApplicationUserId");
b.HasKey("OwnerId", "UserId");
});
@ -692,7 +698,7 @@ namespace Yavsc.Migrations
{
b.HasOne("Yavsc.Models.ApplicationUser")
.WithMany()
.HasForeignKey("OwnerId");
.HasForeignKey("ApplicationUserId");
});
modelBuilder.Entity("Yavsc.Models.Identity.GoogleCloudMobileDeclaration", b =>