Table of Contents

Class MigrationStatus

Namespace
Honua.Sdk.Admin.Models
Assembly
Honua.Sdk.Admin.dll

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

IReadOnlyList<string>

GeneratedAt

Timestamp when the status was generated.

[JsonPropertyName("generatedAt")]
public DateTimeOffset GeneratedAt { get; init; }

Property Value

DateTimeOffset

IsFailed

Whether migrations failed.

[JsonPropertyName("isFailed")]
public bool IsFailed { get; init; }

Property Value

bool

IsReady

Whether the instance is ready for traffic.

[JsonPropertyName("isReady")]
public bool IsReady { get; init; }

Property Value

bool

Message

Optional operator-facing detail.

[JsonPropertyName("message")]
public string? Message { get; init; }

Property Value

string

PendingScripts

Pending migration scripts.

[JsonPropertyName("pendingScripts")]
public IReadOnlyList<string> PendingScripts { get; init; }

Property Value

IReadOnlyList<string>

PlanAvailable

Whether a migration plan could be generated.

[JsonPropertyName("planAvailable")]
public bool PlanAvailable { get; init; }

Property Value

bool

PlanError

Error detail when migration planning could not complete.

[JsonPropertyName("planError")]
public string? PlanError { get; init; }

Property Value

string

Status

Current migration lifecycle status.

[JsonPropertyName("status")]
public string Status { get; init; }

Property Value

string

UpgradeRequired

Whether pending migrations were detected.

[JsonPropertyName("upgradeRequired")]
public bool UpgradeRequired { get; init; }

Property Value

bool