fix(cv-qa): protect import lifecycle races and terminal receipts
This commit is contained in:
@@ -290,6 +290,8 @@ namespace JobTrackerApi.Data
|
||||
modelBuilder.Entity<CvExtractionRun>()
|
||||
.HasIndex(x => new { x.OwnerUserId, x.StartedAtUtc });
|
||||
|
||||
modelBuilder.Entity<CvExtractionRun>().Property(x => x.Status).IsConcurrencyToken();
|
||||
|
||||
modelBuilder.Entity<CvExtractionRun>()
|
||||
.HasOne(x => x.Artifact)
|
||||
.WithMany()
|
||||
|
||||
Reference in New Issue
Block a user