17 lines
450 B
C#
17 lines
450 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
|
|
namespace DbMigrate {
|
|
public class Migration {
|
|
public string MigrationName { get; set; }
|
|
public string Sql { get; set; }
|
|
public bool Executed { get; set; } = false;
|
|
public List<Exception> Errors { get; set; } = new List<Exception>();
|
|
|
|
public Migration(string name, string sql) {
|
|
MigrationName = name;
|
|
Sql = sql;
|
|
}
|
|
}
|
|
}
|