Class MigrationStatus
Status of database migrations.
public sealed class MigrationStatus
- Inheritance
-
MigrationStatus
- Inherited Members
Properties
ExecutedButNotDiscoveredScripts
Executed scripts no longer discovered by the current binary.
[JsonPropertyName("executedButNotDiscoveredScripts")]
public IReadOnlyList<string> ExecutedButNotDiscoveredScripts { get; init; }
Property Value
GeneratedAt
Timestamp when the status was generated.
[JsonPropertyName("generatedAt")]
public DateTimeOffset GeneratedAt { get; init; }
Property Value
IsFailed
Whether migrations failed.
[JsonPropertyName("isFailed")]
public bool IsFailed { get; init; }
Property Value
IsReady
Whether the instance is ready for traffic.
[JsonPropertyName("isReady")]
public bool IsReady { get; init; }
Property Value
Message
Optional operator-facing detail.
[JsonPropertyName("message")]
public string? Message { get; init; }
Property Value
PendingScripts
Pending migration scripts.
[JsonPropertyName("pendingScripts")]
public IReadOnlyList<string> PendingScripts { get; init; }
Property Value
PlanAvailable
Whether a migration plan could be generated.
[JsonPropertyName("planAvailable")]
public bool PlanAvailable { get; init; }
Property Value
PlanError
Error detail when migration planning could not complete.
[JsonPropertyName("planError")]
public string? PlanError { get; init; }
Property Value
Status
Current migration lifecycle status.
[JsonPropertyName("status")]
public string Status { get; init; }
Property Value
UpgradeRequired
Whether pending migrations were detected.
[JsonPropertyName("upgradeRequired")]
public bool UpgradeRequired { get; init; }