netmash/infrastructure/Netmash.Infrastructure.Data.../Models/MigrationThumbprint.cs

30 lines
723 B
C#
Raw Normal View History

2022-01-21 11:19:51 +02:00
using System;
2023-01-12 01:01:36 +02:00
namespace Netmash.Infrastructure.DatabaseMigration.Models
2022-01-21 11:19:51 +02:00
{
public class MigrationThumbprint
2022-01-21 11:19:51 +02:00
{
public MigrationSignature[] MigrationSignatures { get; set; }
}
public class MigrationSignature
2022-01-21 11:19:51 +02:00
{
public DateTime MigrationDate { get; set; }
public string MachineName { get; set; }
public MigratedVersion[] MigratedVersions { get; set; }
public string LastVersion { get; set; }
}
public class MigratedVersion
2022-01-21 11:19:51 +02:00
{
public string Version { get; set; }
public string[] Scripts { get; set; }
}
public class ScriptPack
2022-01-21 11:19:51 +02:00
{
public string Path { get; set; }
public Version Version { get; set; }
}
}