mirror of
https://github.com/bitwarden/server.git
synced 2025-07-03 00:52:49 -05:00
Use rerunable sql journal
This commit is contained in:
@ -98,7 +98,7 @@ public class DbMigrator
|
||||
cancellationToken.ThrowIfCancellationRequested();
|
||||
var builder = DeployChanges.To
|
||||
.SqlDatabase(_connectionString)
|
||||
.JournalToSqlTable("dbo", "Migration")
|
||||
.JournalRerunableToSqlTable("dbo", "Migration")
|
||||
.WithScriptsAndCodeEmbeddedInAssembly(Assembly.GetExecutingAssembly(),
|
||||
s => s.Contains($".DbScripts.") && !s.Contains(".Archive."))
|
||||
.WithTransaction()
|
||||
|
Reference in New Issue
Block a user