This commit is contained in:
2025-08-31 07:32:30 -05:00
parent 8cc304c3d2
commit 0fe77cb654
7 changed files with 446 additions and 138 deletions

16
Migration.cs Normal file
View 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;
}
}
}