Fixed errors with delete of users
This commit is contained in:
@@ -40,7 +40,7 @@ namespace BeReadyBackend.Migrations
|
||||
|
||||
b.HasKey("Id");
|
||||
|
||||
b.ToTable("Achievements");
|
||||
b.ToTable("Achievements", (string)null);
|
||||
});
|
||||
|
||||
modelBuilder.Entity("BeReadyBackend.Models.Designation", b =>
|
||||
@@ -57,7 +57,7 @@ namespace BeReadyBackend.Migrations
|
||||
|
||||
b.HasKey("Id");
|
||||
|
||||
b.ToTable("Designations");
|
||||
b.ToTable("Designations", (string)null);
|
||||
});
|
||||
|
||||
modelBuilder.Entity("BeReadyBackend.Models.Group", b =>
|
||||
@@ -77,7 +77,7 @@ namespace BeReadyBackend.Migrations
|
||||
|
||||
b.HasKey("Id");
|
||||
|
||||
b.ToTable("Groups");
|
||||
b.ToTable("Groups", (string)null);
|
||||
});
|
||||
|
||||
modelBuilder.Entity("BeReadyBackend.Models.Message", b =>
|
||||
@@ -107,7 +107,7 @@ namespace BeReadyBackend.Migrations
|
||||
|
||||
b.HasIndex("UserId");
|
||||
|
||||
b.ToTable("Messages");
|
||||
b.ToTable("Messages", (string)null);
|
||||
});
|
||||
|
||||
modelBuilder.Entity("BeReadyBackend.Models.Post", b =>
|
||||
@@ -134,7 +134,7 @@ namespace BeReadyBackend.Migrations
|
||||
|
||||
b.HasIndex("UserId");
|
||||
|
||||
b.ToTable("Posts");
|
||||
b.ToTable("Posts", (string)null);
|
||||
});
|
||||
|
||||
modelBuilder.Entity("BeReadyBackend.Models.RandomChallenge", b =>
|
||||
@@ -161,7 +161,7 @@ namespace BeReadyBackend.Migrations
|
||||
|
||||
b.HasKey("Id");
|
||||
|
||||
b.ToTable("RandomChallenges");
|
||||
b.ToTable("RandomChallenges", (string)null);
|
||||
});
|
||||
|
||||
modelBuilder.Entity("BeReadyBackend.Models.User", b =>
|
||||
@@ -217,7 +217,7 @@ namespace BeReadyBackend.Migrations
|
||||
|
||||
b.HasIndex("DesignationId");
|
||||
|
||||
b.ToTable("Users");
|
||||
b.ToTable("Users", (string)null);
|
||||
});
|
||||
|
||||
modelBuilder.Entity("BeReadyBackend.Models.UserAchievement", b =>
|
||||
@@ -232,7 +232,7 @@ namespace BeReadyBackend.Migrations
|
||||
|
||||
b.HasIndex("AchievementId");
|
||||
|
||||
b.ToTable("UserAchievements");
|
||||
b.ToTable("UserAchievements", (string)null);
|
||||
});
|
||||
|
||||
modelBuilder.Entity("BeReadyBackend.Models.UserFriend", b =>
|
||||
@@ -250,7 +250,7 @@ namespace BeReadyBackend.Migrations
|
||||
|
||||
b.HasIndex("FriendId");
|
||||
|
||||
b.ToTable("UserFriends");
|
||||
b.ToTable("UserFriends", (string)null);
|
||||
});
|
||||
|
||||
modelBuilder.Entity("BeReadyBackend.Models.UserGroup", b =>
|
||||
@@ -269,7 +269,7 @@ namespace BeReadyBackend.Migrations
|
||||
|
||||
b.HasIndex("GroupId");
|
||||
|
||||
b.ToTable("UserGroups");
|
||||
b.ToTable("UserGroups", (string)null);
|
||||
});
|
||||
|
||||
modelBuilder.Entity("BeReadyBackend.Models.UserPost", b =>
|
||||
@@ -284,7 +284,7 @@ namespace BeReadyBackend.Migrations
|
||||
|
||||
b.HasIndex("PostId");
|
||||
|
||||
b.ToTable("UserPosts");
|
||||
b.ToTable("UserPosts", (string)null);
|
||||
});
|
||||
|
||||
modelBuilder.Entity("BeReadyBackend.Models.UserRandomChallenge", b =>
|
||||
@@ -302,7 +302,7 @@ namespace BeReadyBackend.Migrations
|
||||
|
||||
b.HasIndex("RandomChallengeId");
|
||||
|
||||
b.ToTable("UserRandomChallenges");
|
||||
b.ToTable("UserRandomChallenges", (string)null);
|
||||
});
|
||||
|
||||
modelBuilder.Entity("BeReadyBackend.Models.Message", b =>
|
||||
|
||||
Reference in New Issue
Block a user