fixed deleting users
This commit is contained in:
parent
2246624917
commit
300ab2370f
10 changed files with 815 additions and 14 deletions
|
@ -176,7 +176,7 @@ namespace Lieb.Migrations
|
|||
.HasMaxLength(50)
|
||||
.HasColumnType("TEXT");
|
||||
|
||||
b.Property<ulong>("RaidOwnerId")
|
||||
b.Property<ulong?>("RaidOwnerId")
|
||||
.HasColumnType("INTEGER");
|
||||
|
||||
b.Property<int>("RaidType")
|
||||
|
@ -226,7 +226,7 @@ namespace Lieb.Migrations
|
|||
b.Property<int>("Type")
|
||||
.HasColumnType("INTEGER");
|
||||
|
||||
b.Property<ulong>("UserId")
|
||||
b.Property<ulong?>("UserId")
|
||||
.HasColumnType("INTEGER");
|
||||
|
||||
b.HasKey("RaidLogId");
|
||||
|
@ -395,7 +395,7 @@ namespace Lieb.Migrations
|
|||
.HasMaxLength(50)
|
||||
.HasColumnType("TEXT");
|
||||
|
||||
b.Property<ulong>("RaidOwnerId")
|
||||
b.Property<ulong?>("RaidOwnerId")
|
||||
.HasColumnType("INTEGER");
|
||||
|
||||
b.Property<int>("RaidType")
|
||||
|
@ -554,9 +554,7 @@ namespace Lieb.Migrations
|
|||
|
||||
b.HasOne("Lieb.Models.LiebUser", "User")
|
||||
.WithMany()
|
||||
.HasForeignKey("UserId")
|
||||
.OnDelete(DeleteBehavior.Cascade)
|
||||
.IsRequired();
|
||||
.HasForeignKey("UserId");
|
||||
|
||||
b.Navigation("Raid");
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue