Something went wrong. Try again.
A database migration tool for .NET
Something went wrong. Try again.
799 B · 29 lines
C#
at develop
123456789101112131415161718192021222324252627282930using System;
namespace Migrato.Core;
/// <summary>/// The applied/pending state of a single migration, as reported by <see cref="MigrationRunner.GetStatus"/>/// </summary>public class MigrationStatusEntry{ /// <summary> /// Gets the version of the migration /// </summary> public long Version { get; init; }
/// <summary> /// Gets the name of the migration /// </summary> public string Name { get; init; } = string.Empty;
/// <summary> /// Gets whether the migration has been applied /// </summary> public bool IsApplied { get; init; }
/// <summary> /// Gets the timestamp at which the migration was applied, or null if it is still pending /// </summary> public DateTimeOffset? AppliedAt { get; init; }}