- Drop existing indexes on DeploymentJobTargets and DeploymentJobSteps - Alter Status column to nvarchar(450) in DeploymentJobTargets, DeploymentJobSteps, and DeploymentJobs - Add new columns: Finished, OutputMetadataJson, Started to DeploymentJobTargets; ErrorMessage, Finished, OutputMetadataJson, Started to DeploymentJobSteps; CorrelationId, HeartbeatAt, Priority, RowVersion, ScheduledAt, WorkerName to DeploymentJobs - Create new indexes for improved query performance - Add constraints to ensure OutputMetadataJson is valid JSON - Record migration in __EFMigrationsHistory
22 lines
596 B
C#
22 lines
596 B
C#
namespace Microsoft.SelfService.Portal.Core.API.Dto.DeploymentBatch.Get
|
|
{
|
|
public class GetDeploymentBatchDto : BaseDetailsDto
|
|
{
|
|
public Guid? TemplateId { get; set; }
|
|
|
|
public Guid? DeploymentRuleId { get; set; }
|
|
|
|
public string Status { get; set; } = string.Empty;
|
|
|
|
public Guid? PrimaryTemplateVersionId { get; set; }
|
|
|
|
public string? PrimaryTemplateName { get; set; }
|
|
|
|
public string? PrimaryTemplateVersion { get; set; }
|
|
|
|
public int TemplateSelectionCount { get; set; }
|
|
|
|
public int TargetAssignmentCount { get; set; }
|
|
}
|
|
}
|