Skip to content

Commit

Permalink
fix(migration): remove deleteOnFinish
Browse files Browse the repository at this point in the history
Signed-off-by: blu3beri <[email protected]>
  • Loading branch information
berendsliedrecht committed Apr 4, 2023
1 parent 4548907 commit 1e0f83f
Showing 1 changed file with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,7 @@ export class IndySdkToAskarMigrationUpdater {
private dbPath: string
private fs: FileSystem

private constructor(
walletConfig: WalletConfig,
agent: Agent,
dbPath: string,
defaultLinkSecretId?: string
) {
private constructor(walletConfig: WalletConfig, agent: Agent, dbPath: string, defaultLinkSecretId?: string) {
this.walletConfig = walletConfig
this.dbPath = dbPath
this.agent = agent
Expand Down Expand Up @@ -186,6 +181,11 @@ export class IndySdkToAskarMigrationUpdater {
/**
* Function that updates the values from an indy-sdk structure to the new askar structure.
*
* > NOTE: It is very important that this script is ran before the 0.3.x to
* 0.4.x migration script. This can easily be done by calling this when you
* upgrade, before you initialize the agent with `autoUpdateStorageOnStartup:
* true`.
*
* - Assert that the paths that will be used are free
* - Create a backup of the database
* - Migrate the database to askar structure
Expand Down

0 comments on commit 1e0f83f

Please sign in to comment.