Class MigrationDescription
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
Description
public required string Description { get; set; }
Property Value
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
IsEphemeral
True when this migration corresponds to an ephemeral (unnamed) model version.
public bool IsEphemeral { get; set; }
Property Value
IsRerunnable
public bool IsRerunnable { get; set; }
Property Value
RerunnableBeforeUTC
public DateTimeOffset? RerunnableBeforeUTC { get; set; }
Property Value
SequenceNumber
public required int SequenceNumber { get; set; }
Property Value
Methods
ShouldSerializeFingerprint()
public bool ShouldSerializeFingerprint()
Returns
ShouldSerializeIsEphemeral()
public bool ShouldSerializeIsEphemeral()
Returns
ShouldSerializeIsRerunnable()
public bool ShouldSerializeIsRerunnable()
Returns
ShouldSerializeRerunnableBefore()
public bool ShouldSerializeRerunnableBefore()