using System; using System.Data; using System.Data.SqlClient; using DbUp; using DbUp.Builder; using DbUp.Engine.Output; using DbUp.Engine.Transactions; using DbUp.SqlServer; namespace Bit.Migrator; public static class RerunableSqlTableJournalExtensions { public static UpgradeEngineBuilder JournalRerunableToSqlTable(this UpgradeEngineBuilder builder, string schema, string table) { builder.Configure(c => c.Journal = new RerunableSqlTableJournal(() => c.ConnectionManager, () => c.Log, schema, table)); return builder; } }