Updates
This commit is contained in:
16
Migration.cs
Normal file
16
Migration.cs
Normal file
@@ -0,0 +1,16 @@
|
||||
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;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user