Removed ValueTask generally where not needed
Removed relationships from audit log
This commit is contained in:
-22
@@ -133,10 +133,6 @@ namespace PostFundManagement.Infrastructure.Database.Migrations
|
||||
|
||||
b.HasKey("Id");
|
||||
|
||||
b.HasIndex("PerformedBy");
|
||||
|
||||
b.HasIndex("TenantId");
|
||||
|
||||
b.ToTable("AuditLogs", (string)null);
|
||||
});
|
||||
|
||||
@@ -1495,24 +1491,6 @@ namespace PostFundManagement.Infrastructure.Database.Migrations
|
||||
b.Navigation("Updator");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("PostFundManagement.Domain.Entities.AuditLog", b =>
|
||||
{
|
||||
b.HasOne("PostFundManagement.Domain.Entities.User", "Performer")
|
||||
.WithMany()
|
||||
.HasForeignKey("PerformedBy")
|
||||
.OnDelete(DeleteBehavior.Restrict)
|
||||
.IsRequired();
|
||||
|
||||
b.HasOne("PostFundManagement.Domain.Entities.Tenant", "Tenant")
|
||||
.WithMany()
|
||||
.HasForeignKey("TenantId")
|
||||
.OnDelete(DeleteBehavior.NoAction);
|
||||
|
||||
b.Navigation("Performer");
|
||||
|
||||
b.Navigation("Tenant");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("PostFundManagement.Domain.Entities.Award", b =>
|
||||
{
|
||||
b.HasOne("PostFundManagement.Domain.Entities.User", "Approver")
|
||||
|
||||
Reference in New Issue
Block a user