owner id
This commit is contained in:
parent
9575dd2754
commit
e4511a8aaa
38 changed files with 615 additions and 68 deletions
|
|
@ -128,7 +128,7 @@ namespace nugethost.Migrations
|
|||
b.ToTable("AspNetUserTokens");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("nuget_host.Models.ApplicationUser", b =>
|
||||
modelBuilder.Entity("nuget_host.Data.ApplicationUser", b =>
|
||||
{
|
||||
b.Property<string>("Id")
|
||||
.ValueGeneratedOnAdd();
|
||||
|
|
@ -190,7 +190,7 @@ namespace nugethost.Migrations
|
|||
|
||||
modelBuilder.Entity("Microsoft.AspNetCore.Identity.IdentityUserClaim<string>", b =>
|
||||
{
|
||||
b.HasOne("nuget_host.Models.ApplicationUser")
|
||||
b.HasOne("nuget_host.Data.ApplicationUser")
|
||||
.WithMany()
|
||||
.HasForeignKey("UserId")
|
||||
.OnDelete(DeleteBehavior.Cascade);
|
||||
|
|
@ -198,7 +198,7 @@ namespace nugethost.Migrations
|
|||
|
||||
modelBuilder.Entity("Microsoft.AspNetCore.Identity.IdentityUserLogin<string>", b =>
|
||||
{
|
||||
b.HasOne("nuget_host.Models.ApplicationUser")
|
||||
b.HasOne("nuget_host.Data.ApplicationUser")
|
||||
.WithMany()
|
||||
.HasForeignKey("UserId")
|
||||
.OnDelete(DeleteBehavior.Cascade);
|
||||
|
|
@ -211,7 +211,7 @@ namespace nugethost.Migrations
|
|||
.HasForeignKey("RoleId")
|
||||
.OnDelete(DeleteBehavior.Cascade);
|
||||
|
||||
b.HasOne("nuget_host.Models.ApplicationUser")
|
||||
b.HasOne("nuget_host.Data.ApplicationUser")
|
||||
.WithMany()
|
||||
.HasForeignKey("UserId")
|
||||
.OnDelete(DeleteBehavior.Cascade);
|
||||
|
|
@ -219,7 +219,7 @@ namespace nugethost.Migrations
|
|||
|
||||
modelBuilder.Entity("Microsoft.AspNetCore.Identity.IdentityUserToken<string>", b =>
|
||||
{
|
||||
b.HasOne("nuget_host.Models.ApplicationUser")
|
||||
b.HasOne("nuget_host.Data.ApplicationUser")
|
||||
.WithMany()
|
||||
.HasForeignKey("UserId")
|
||||
.OnDelete(DeleteBehavior.Cascade);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue