@statechannels/server-wallet > DBAdmin > migrateDatabase

DBAdmin.migrateDatabase() method

Performs wallet database migrations against the database specified in the config

Signature:

static migrateDatabase(config: IncomingWalletConfig): Promise<void>;

Parameters

ParameterTypeDescription
configIncomingWalletConfigThe wallet configuration object containing the database configuration to use

Returns:

Promise<void>