Table of Contents

Class MigrationDescription

Namespace
The.SQL.Schema
Assembly
Instagile.dll

Describes a database migration which can be executed or serialised.

public class MigrationDescription
Inheritance
MigrationDescription
Inherited Members

Properties

Batches

public StatementBatch[] Batches { get; set; }

Property Value

StatementBatch[]

Description

public required string Description { get; set; }

Property Value

string

Fingerprint

Fingerprint of the model's schema-relevant state as of this migration's version, prefixed with the fingerprint algorithm version. Null when the schema was produced without fingerprints.

public string? Fingerprint { get; set; }

Property Value

string

IsEphemeral

True when this migration corresponds to an ephemeral (unnamed) model version.

public bool IsEphemeral { get; set; }

Property Value

bool

IsRerunnable

public bool IsRerunnable { get; set; }

Property Value

bool

RerunnableBeforeUTC

public DateTimeOffset? RerunnableBeforeUTC { get; set; }

Property Value

DateTimeOffset?

SequenceNumber

public required int SequenceNumber { get; set; }

Property Value

int

Methods

ShouldSerializeFingerprint()

public bool ShouldSerializeFingerprint()

Returns

bool

ShouldSerializeIsEphemeral()

public bool ShouldSerializeIsEphemeral()

Returns

bool

ShouldSerializeIsRerunnable()

public bool ShouldSerializeIsRerunnable()

Returns

bool

ShouldSerializeRerunnableBefore()

public bool ShouldSerializeRerunnableBefore()

Returns

bool