feat(processing): persist safe atomic operation history
This commit is contained in:
@@ -2265,6 +2265,24 @@ namespace JobTrackerApi.Migrations
|
||||
b.ToTable("TwoFactorRecoveryCodes");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("JobTrackerApi.Models.UserOperationEvent", b =>
|
||||
{
|
||||
b.Property<long>("Id").ValueGeneratedOnAdd().HasColumnType("INTEGER");
|
||||
b.Property<Guid>("OperationId").HasColumnType("TEXT");
|
||||
b.Property<string>("OwnerUserId").IsRequired().HasMaxLength(255).HasColumnType("TEXT");
|
||||
b.Property<DateTime>("AtUtc").HasColumnType("TEXT");
|
||||
b.Property<string>("Kind").IsRequired().HasMaxLength(40).HasColumnType("TEXT");
|
||||
b.Property<string>("Status").IsRequired().HasMaxLength(32).HasColumnType("TEXT");
|
||||
b.Property<string>("Stage").HasMaxLength(64).HasColumnType("TEXT");
|
||||
b.Property<int>("Attempt").HasColumnType("INTEGER");
|
||||
b.Property<string>("FailureCode").HasMaxLength(64).HasColumnType("TEXT");
|
||||
b.HasKey("Id");
|
||||
b.HasIndex("OperationId", "Id");
|
||||
b.HasIndex("AtUtc");
|
||||
b.ToTable("UserOperationEvents");
|
||||
b.HasOne("JobTrackerApi.Models.UserOperation", null).WithMany().HasForeignKey("OperationId").OnDelete(DeleteBehavior.Cascade).IsRequired();
|
||||
});
|
||||
|
||||
modelBuilder.Entity("JobTrackerApi.Models.UserNotification", b =>
|
||||
{
|
||||
b.Property<Guid>("Id")
|
||||
|
||||
Reference in New Issue
Block a user