mirror of
https://github.com/bitwarden/server.git
synced 2025-07-04 09:32:48 -05:00
13 lines
403 B
C#
13 lines
403 B
C#
using DbUp.Builder;
|
|
|
|
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;
|
|
}
|
|
}
|