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.ApiKey", b =>
|
||||
modelBuilder.Entity("nuget_host.Data.ApiKey", b =>
|
||||
{
|
||||
b.Property<string>("Id")
|
||||
.ValueGeneratedOnAdd();
|
||||
|
|
@ -143,7 +143,7 @@ namespace nugethost.Migrations
|
|||
b.ToTable("ApiKeys");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("nuget_host.Models.ApplicationUser", b =>
|
||||
modelBuilder.Entity("nuget_host.Data.ApplicationUser", b =>
|
||||
{
|
||||
b.Property<string>("Id")
|
||||
.ValueGeneratedOnAdd();
|
||||
|
|
@ -205,7 +205,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);
|
||||
|
|
@ -213,7 +213,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);
|
||||
|
|
@ -226,7 +226,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);
|
||||
|
|
@ -234,15 +234,15 @@ 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);
|
||||
});
|
||||
|
||||
modelBuilder.Entity("nuget_host.Models.ApiKey", b =>
|
||||
modelBuilder.Entity("nuget_host.Data.ApiKey", b =>
|
||||
{
|
||||
b.HasOne("nuget_host.Models.ApplicationUser", "User")
|
||||
b.HasOne("nuget_host.Data.ApplicationUser", "User")
|
||||
.WithMany()
|
||||
.HasForeignKey("UserId")
|
||||
.OnDelete(DeleteBehavior.Cascade);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue