mirror of
https://github.com/BinaryAlley/Nemera.git
synced 2026-12-03 07:11:10 +00:00
Completes the scheduled jobs module with default jobs, a themed scheduler page and aligned recovery semantics
This commit is contained in:
1 parent
99a6159f7f
commit
4b7cfbbe11
67 files changed
+3324
-745
No files matched your search
@@ -44,22 +44,26 @@ public class ScheduledJobExecutionConfiguration : IEntityTypeConfiguration<Sched
|
||||
builder.Property(execution => execution.CompletedOnUtc)
|
||||
.HasColumnOrder(5);
|
||||
|
||||
// Audit.
|
||||
builder.Property(execution => execution.CreatedOnUtc)
|
||||
builder.Property(execution => execution.WasCycleActive)
|
||||
.IsRequired()
|
||||
.HasColumnOrder(6);
|
||||
|
||||
builder.Property(execution => execution.CreatedBy)
|
||||
// Audit.
|
||||
builder.Property(execution => execution.CreatedOnUtc)
|
||||
.IsRequired()
|
||||
.HasColumnOrder(7);
|
||||
|
||||
builder.Property(execution => execution.CreatedBy)
|
||||
.IsRequired()
|
||||
.HasColumnOrder(8);
|
||||
|
||||
builder.Property(execution => execution.UpdatedOnUtc)
|
||||
.HasDefaultValue(null)
|
||||
.HasColumnOrder(8);
|
||||
.HasColumnOrder(9);
|
||||
|
||||
builder.Property(execution => execution.UpdatedBy)
|
||||
.HasDefaultValue(null)
|
||||
.HasColumnOrder(9);
|
||||
.HasColumnOrder(10);
|
||||
|
||||
// Enables fast queries of the execution history of scheduled jobs by their time range, and the cleanup of the executions of a removed scheduled job.
|
||||
builder.HasIndex(execution => new { execution.StartedOnUtc, execution.ScheduledJobId });
|
||||
|
||||
Reference in new issue
Block a user