mirror of
https://github.com/bitwarden/server.git
synced 2025-07-02 16:42:50 -05:00
Rename to SqlTableJournalExtensions
This commit is contained in:
12
util/Migrator/SqlTableJournalExtensions.cs
Normal file
12
util/Migrator/SqlTableJournalExtensions.cs
Normal file
@ -0,0 +1,12 @@
|
||||
using DbUp.Builder;
|
||||
|
||||
namespace Bit.Migrator;
|
||||
|
||||
public static class SqlTableJournalExtensions
|
||||
{
|
||||
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;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user